Skip to content

Instantly share code, notes, and snippets.

@jhony2488
Forked from hybrist/es-module-history.md
Created April 2, 2021 00:46
Show Gist options
  • Select an option

  • Save jhony2488/3339ff35e2953815cbbf9f6f96b5da89 to your computer and use it in GitHub Desktop.

Select an option

Save jhony2488/3339ff35e2953815cbbf9f6f96b5da89 to your computer and use it in GitHub Desktop.
History of ES modules

Modules - History & Future

History

Today

  • Basic support in some browsers
  • Chrome 64
    • Basic support for relative and absolute URLs
    • Dynamic import: both scripts and modules
    • import.meta properties: url
    • Bare imports: nope
    • Loader hooks: none
  • Firefox Developer Edition w/ dom.moduleScripts.enabled=true
    • Basic support for relative and absolute URLs
    • Dynamic import: not implemented
    • import.meta properties: not implemented
    • Bare imports: nope
    • Loader hooks: none
  • node 8 w/ --experimental-modules
  • Safari Technology Preview 45
    • Basic support for relative and absolute URLs
    • Dynamic import: both scripts and modules
    • import.meta properties: url
    • Bare imports: nope
    • Loader hooks: none

Future

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment