Static Module Resolution
khs4473 at gmail.com
Sat Jun 30 12:03:08 PDT 2012
> Just define the order of execution between ES6 and pre-ES6 to run
> legacy.js first.
You'd have to detect (before execution) whether a script was "ES6" or not,
which is not practical, AFAICT.
But even if you could, then simply upgrading "legacy.js" to use ES6 modules
would change the order of execution, which could cause observable
differences of behavior in the program.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss