If you use certain esnext features in a module, like:
var [ a, b ] = [1, 2];
And let ember-cli-esnext transform them for you, esnext inserts code at the beginning of the module, before your import statements. This is causing us to miss those import statements.
If you use certain esnext features in a module, like:
And let ember-cli-esnext transform them for you, esnext inserts code at the beginning of the module, before your import statements. This is causing us to miss those import statements.
I filed a corresponding issue in petal. But this could also be a bug in esprima or esnext.