Only Safari 10.1/10.3 (desktop/iOS) doesn’t support both attributes caniuse.com/#feat=es6-module

Can combine with github.com/malyw/es-modules-utils for a CSS body class and/or JS property you can query and work from.

  • 0
  • 1
  1. type=“module” and the nomodule attribute also work for inline JavaScript, so code inline to your heart’s content and PE all the way.

    • 0
    • 2