Skip to content

Instantly share code, notes, and snippets.

@jkrems
Last active November 5, 2023 19:35
Show Gist options
  • Star 43 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jkrems/769a8cd8806f7f57903b641c74b5f08a to your computer and use it in GitHub Desktop.
Save jkrems/769a8cd8806f7f57903b641c74b5f08a 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
  • Edge 16
    • Basic support for relative and absolute URLs
    • Dynamic import: in progress
    • import.meta properties: not implemented
    • 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

Acknowledgments

People who provided links & resources (alphabetical order):

References

@zavr-1
Copy link

zavr-1 commented Jan 25, 2020

wow thanks for that brother

@avinoamsn
Copy link

what a great resource, thanks!

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