-
-
Notifications
You must be signed in to change notification settings - Fork 17
Module Imports
Ra'Shaun Stovall edited this page May 11, 2017
·
3 revisions
The TC39 group process has recently come to an agreement on module imports implementation within the browser platforms. snuggsi ツ supports ECMAscript type=module
with backwards compatible custom elements support.
And so should you!
<script src=//unpkg.com/snuggsi/examples/webcomponents-hi-ce.js></script>
<script type=module src=//unpkg.com/snuggsi/snuggsi.es></script>
<script nomodule src=//unpkg.com/snuggsi/snuggsi.js></script>
- https://medium.com/dev-channel/es6-modules-in-chrome-canary-m60-ba588dfb8ab7
- https://jakearchibald.com/2017/es-modules-in-browsers
- https://twitter.com/addyosmani/status/859296190323597313
- https://jakearchibald.com/2017/es-modules-in-browsers
- https://blog.hospodarets.com/native-ecmascript-modules-new-features
- https://github.com/whatwg/html/pull/2261
- https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule
- https://trac.webkit.org/changeset/211078/webkit
- https://blog.hospodarets.com/native-ecmascript-modules-the-first-overview
- https://github.com/w3c/web-platform-tests/pull/4611
- https://www.iana.org/assignments/media-types/application/ecmascript
- https://www.iana.org/assignments/media-types/application/javascript
- https://github.com/tc39/ecma262/issues/322