JavaScript modules via script tag

- LS

Loading JavaScript module scripts (aka ES6 modules) using <script type="module"> Includes support for the nomodule attribute.

Chrome

  1. ❌ 4 - 59: Not supported
  2. ❌ 60: Disabled by default
  3. ✅ 61 - 153: Supported
  4. ✅ 154: Supported
  5. ✅ 155 - 157: Supported

Edge

  1. ❌ 12 - 14: Not supported
  2. ❌ 15: Disabled by default
  3. ✅ 16 - 18: Supported
  4. ✅ 79 - 153: Supported
  5. ✅ 154: Supported

Safari

  1. ❌ 3.1 - 10: Not supported
  2. ◐ 10.1: Partial support
  3. ✅ 11 - 26.6: Supported
  4. ✅ 27: Supported
  5. ✅ 27.1 - TP: Supported

Firefox

  1. ❌ 2 - 53: Not supported
  2. ❌ 54 - 59: Disabled by default
  3. ✅ 60 - 156: Supported
  4. ✅ 157: Supported
  5. ✅ 158 - 160: Supported

Opera

  1. ❌ 9 - 46: Not supported
  2. ❌ 47: Disabled by default
  3. ✅ 48 - 134: Supported
  4. ✅ 135: Supported

IE

  1. ❌ 5.5 - 10: Not supported
  2. ❌ 11: Not supported

Chrome for Android

  1. ✅ 154: Supported

Safari on iOS

  1. ❌ 3.2 - 10.2: Not supported
  2. ◐ 10.3: Partial support
  3. ✅ 11 - 26.6: Supported
  4. ✅ 27.0: Supported
  5. ✅ 27.1 - 27.2: Supported

Samsung Internet

  1. ❌ 4 - 7.4: Not supported
  2. ✅ 8.2 - 29: Supported
  3. ✅ 30: Supported

Opera Mini

  1. ❌ all: Not supported

Opera Mobile

  1. ❌ 10 - 12.1: Not supported
  2. ✅ 80: Supported

UC Browser for Android

  1. ✅ 15.5: Supported

Android Browser

  1. ❌ 2.1 - 4.4.4: Not supported
  2. ✅ 154: Supported

Firefox for Android

  1. ✅ 157: Supported

QQ Browser

  1. ✅ 14.9: Supported

Baidu Browser

  1. ✅ 13.52: Supported

KaiOS Browser

  1. ❌ 2.5: Not supported
  2. ✅ 3: Supported
Resources:
Blog post: Native ECMAScript modules - the first overview
MS Edge blog post
Firefox support bug
Will it double-fetch? Browser behavior with `module` / `nomodule` scripts
Mozilla hacks article
Blog post on using nomodule
Specification for nomodule attribute
Intro to ES6 modules
Counterpart ECMAScript specification for import/export syntax
Sub-features:
JavaScript modules: dynamic import()