Hookable, standards-based module loader that runs production ES module builds in older browsers
open sourceMITfree
SystemJS is a hookable, standards-based module loader. Code written for native ES modules in browsers, such as Rollup code-splitting builds, can be compiled to the System.register format so it runs in older browsers too, at near-native speed, keeping top-level await, dynamic import, circular references, live bindings and import.meta.url, back to IE11. It loads bare specifiers through import maps, has hooks for customizing the loader, tracing hooks and a registry deletion API for reloading workflows, and an extra for loading traditional global scripts. It installs from npm (systemjs) or a CDN and is MIT licensed.
Problems it solves
- I need my ES module build with code splitting to work in older browsers
- I want to load modules by bare name with import maps in the browser
- I need dynamic import and top-level await to work in old browsers back to IE11
Features
- Runs System.register builds of ES module code in older browsers
- Import maps for bare specifiers
- Loader hooks for customization
- Tracing hooks and registry deletion for reloading
- Global script loading extra
Alternatives
The same job
These do what SystemJS does.
- RequireJS JavaScript file and module loader implementing AMD, with an optimizer for production builds