Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels