plovr icon indicating copy to clipboard operation
plovr copied to clipboard

Possible ES6 Module Support

Open adityavohra7 opened this issue 8 years ago • 3 comments

Hello!

v20151216 of Closure Compiler (released after the version which officially started supporting ES6) understands ES6 modules. It also permits the intermingling of ES6 modules and "traditional" Closure JS files. This isn't, however, the case when the compiler is used through Plovr.

Plovr 5.0.0 comes bundled with Closure Compiler v20151216, but it doesn't seem to provide this ES6 module support. Plovr seems to have its own dependency resolution system which it uses to determine what files to feed to the built in closure compiler. And because this dependency resolution is seemingly based solely on goog.require/provide's, ES6 modules aren't "passed to the compiler". Is my understanding accurate? If yes, will Plovr eventually include ES6 module support?

Thanks!

adityavohra7 avatar Jan 29 '16 06:01 adityavohra7