You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to target ES6 or ES2015. I've got some code that registers custom elements that I'm trying to compile with WebOptimizer. My ES6 classes are getting compiled down to ES5 and Chrome is complaining that I'm not using the 'new' keyword to instantiate my web components.
Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
Is there a way to make WebOptimizer.TypeScript read the compilerOptions in tsconfig.json?
The text was updated successfully, but these errors were encountered:
It would be nice to be able to target ES6 or ES2015. I've got some code that registers custom elements that I'm trying to compile with WebOptimizer. My ES6 classes are getting compiled down to ES5 and Chrome is complaining that I'm not using the 'new' keyword to instantiate my web components.
Is there a way to make WebOptimizer.TypeScript read the compilerOptions in tsconfig.json?
The text was updated successfully, but these errors were encountered: