Skip to content

Instantly share code, notes, and snippets.

@domenic
Last active December 26, 2015 00:19
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domenic/7062939 to your computer and use it in GitHub Desktop.
Save domenic/7062939 to your computer and use it in GitHub Desktop.
Authoritative ES6 Modules Resources

This is an initial attempt at gathering together up to date resources on ES6 modules.

  • The ES6 draft spec has an up-to-date grammar and list of early errors. It's not the easiest thing to read, but is the most authoritative.
  • This informal grammar summary is pretty good, and starts to explain how default exports work.
  • These two comments in sequence give examples of all the import and export forms available.
  • jorendorff/js-loaders is a polyfill for the module loader API and pipeline, and is where current work is taking place.
  • This essay is out of date in many ways, but I believe its explanation of the loader pipeline is still more or less accurate. To be sure you'd have to check it against jorendorff/js-loaders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment