Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

@jkrems
Copy link
Author

jkrems commented Apr 3, 2018

@zavr-1
Copy link

zavr-1 commented Jan 25, 2020

wow thanks for that brother

@avinoamsn
Copy link

avinoamsn commented Dec 4, 2021

what a great resource, thanks!

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