On Jun 30, 2014 3:59 PM, "Karolis Narkevičius" <[email protected]> wrote:
> In fact, doesn't being able to import things like above make es6 modules
already interoperable with CJS?

Almost, but not quite, since the name of the module itself ($, fs, etc) is
not included in a typical commonjs module.  So it would really be:
```
import {_ as $} from "jquery";
// etc
```
And from here the jump to "default import" as a small syntactic improvement
on this seemed clear. (At the time at least.)
  --scott
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to