Michael
Michael

Reputation: 11914

About support JavaScript Modules in browsers (native, without babel or require.js)

I do not where I can not find information about the future of the native support for JavaScript Modules in browsers (preferably Google Chrome)

According to this document http://www.ecma-international.org/ecma-262/6.0/#sec-modules, the modules are included in the ECMAScript 2015 (or ES6) but support in browsers for which it is still no. Also, I did not find anything about the modules in ECMAScript 6 Compability Table

What is known about support JavaScript Modules (import and export) in browsers?

Upvotes: 2

Views: 714

Answers (1)

ox7
ox7

Reputation: 37

ES6 Modules are part of the specification, well that's true, at least as far as I know. The ES6 standard however does not define how to load them and that's the problem.

I've found a nice summary on how you may get modules working in modern browsers here: https://leanpub.com/understandinges6/read#leanpub-auto-what-are-modules

Upvotes: 2

Related Questions