JavaScript modules via script tag
94.46
Loading JavaScript module scripts (aka ES6 modules) using `<script type="module">` Includes support for the `nomodule` attribute.
Further reading:
- Can I use page for: JavaScript modules via script tag
- Intro to ES6 modules
- MS Edge blog post
- Mozilla hacks article
- Firefox support bug
- Blog post: Native ECMAScript modules - the first overview
- Counterpart ECMAScript specification for import/export syntax
- Specification for nomodule attribute
- Blog post on using nomodule
- Will it double-fetch? Browser behavior with `module` / `nomodule` scripts