Open ssjarchon opened 5 years ago
WebCompiler uses the old 5.x version of Babel that doesn't support such options. We're stuck with emitting ES5 code.
Can we reliably upgrade to Babel 7 and provide a default configuration file that doesn't mess up everyone's existing project, but adds support for a custom configuration file none the less?
Our use case is to allow our developers to write javascript for our application using newer techniques (es2017+). Currently it appears that the preset for the babel transpiler is hardcoded to React; we'd like to be able to use @babel/preset-env as we need to support a variety of environments including IE 10.
How can we pass in a configuration for Babel for the Web Compiler?