JavaScript modules via script tag

- LS

Loading JavaScript module scripts using <script type="module"> Includes support for the nomodule attribute.

IE

  1. 5.5 - 10
  2. 11

Edge

  1. 12 - 14
  2. 15
  3. 16 - 18
  4. 79 - 81
  5. 83

Firefox

  1. 2 - 53
  2. 54 - 59
  3. 60 - 75
  4. 76
  5. 77 - 78

Chrome

  1. 4 - 59
  2. 60
  3. 61 - 81
  4. 83
  5. 84 - 86

Safari

  1. 3.1 - 10
  2. 10.1
  3. 11 - 13
  4. 13.1
  5. TP

Opera

  1. 9 - 46
  2. 47
  3. 48 - 67
  4. 68

iOS Safari

  1. 3.2 - 10.2
  2. 10.3
  3. 11 - 13.3
  4. 13.4

Opera Mini

  1. all

Android Browser

  1. 2.1 - 4.4.4
  2. 81

Blackberry Browser

  1. 7
  2. 10

Opera Mobile

  1. 10 - 12.1
  2. 46

Chrome for Android

  1. 81

Firefox for Android

  1. 68

IE Mobile

  1. 10
  2. 11

UC Browser for Android

  1. 12.12

Samsung Internet

  1. 4 - 7.4
  2. 8.2 - 10.1
  3. 11.1

QQ Browser

  1. 10.4

Baidu Browser

  1. 7.12

KaiOS Browser

  1. 2.5
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()