3 ms·
According to http://kangax.github.io/compat-table/es6/ http://kangax.github.io/compat-table/es6/, absolutely no browsers support JavaScript Modules yet; only th
by roryokane 12y ago
According to http://kangax.github.io/compat-table/es6/ http://kangax.github.io/compat-table/es6/, absolutely no browsers support JavaScript Modules yet; only the Traceur compiler[1] and EchoJS compiler[2] do. I would not call this feature “crucially important” yet.
[1] https://github.com/google/traceur-compiler https://github.com/google/traceur-compiler
[2] https://github.com/toshok/echo-js https://github.com/toshok/echo-js
- ollysb 12y agoThe ember community has really embraced ES6 modules and now with the introduction of broccoli[1] and the broccoli-es6-transpiler[2] it's really easy to start using modules and the other ES6 features right now. If you're already using SASS or Less then an ES6 transpiler seems like a natural next step. [1] https://github.com/broccolijs/broccoli https://github.com/broccolijs/broccoli [2] https://github.com/sindresorhus/broccoli-es6-transpiler https://github.com/sindresorhus/broccoli-es6-transpiler
- couchand 12y ago...and if you're already using browserify this seems like a natural step backwards.
- jlongster 12y agoBesides the points made by the sibling comment, this feature is crucially important to JavaScript. It hasn't been implemented yet because the spec itself is just now being finalized. This page was made in an effort to spread the word about the upcoming modules, which people really need to see now and understand because it's going to be a big change. I don't see how it still can't be crucially important.
- kybernetikos 12y agoIncluding three script tags into your page - traceur, es6-module-loader and systemjs lets you use all this today.