Visual Builder Studio Build Is Rejecting Valid ES6 JavaScript
(Doc ID 2994833.1)
Last updated on JANUARY 01, 2024
Applies to:
Visual Builder Studio - Version 24.01.0 and laterInformation in this document applies to any platform.
Goal
Visual Builder Studio's 'build' (bundling) process rejects what is valid ES6 JavaScript.
A minimal piece of code that demonstrates the error is:
class MyClass {
static myProp;
}
The ESPrima parser that is part of the Visula Builder 'build' reports an error: "Unexpected token ;" and if the ; is removed, it reports "Unexpected token }"
Although ESPrima claims to support ES2019, it does not support this standard ES6 code.
What is the way forward in this case?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |