ECMAScript Modules in Browsers
As Jake Archibald says, they are starting to land! The support landscape is already:
- Safari 10.1.
- Chrome Canary 60 – behind the Experimental Web Platform flag in
- Firefox 54 – behind the
There are plenty of weird gotchas to be aware of, like minor syntax things that are intentionally not supported, and the order of script execution.
We covered Stefan Judis’s post, who’s sure we’ll continue to bundle:
Just because we might have support for ES6 modules in browsers soon, it doesn’t mean that we can get rid of a build process and a proper “bundle strategy”.