Spec-compliant universal module loader - loads ES6 modules, AMD, CommonJS and global scripts.
Designed as a small collection of extensions to the ES6 specification System loader, which can be applied individually or all together.
Features include:
- Core: Some small fixes to the spec loader behavior.
- Formats: Dynamically load AMD, CommonJS and global scripts (as well as ES6 modules) - detecting the format automatically, or with format hints.
- Map: Map configuration.
- Versions: Multi-version support for semver compatible version ranges (@^1.2.3 syntax).
- Plugins: A dynamic plugin system for modular loading rules.
- Bundles: Dynamically link requires to bundle files.
Designed to work with the ES6 Module Loader polyfill (15KB minified) for a combined footprint of 27KB. In future, with native implementations, the ES6 Module Loader polyfill should no longer be necessary. As jQuery provides for the DOM, this library can smooth over inconsistiencies and missing practical functionality provided by the native System loader.
Runs in the browser and NodeJS.