spice-html5/thirdparty/browser-es-module-loader
Cédric Bosdonnat 2c08f20c25 Introduce ES6 modules
Avoid cluttering the global namespace. Use ES6 modules in order to
to this.

Signed-off-by: Jeremy White <jwhite@codeweavers.com>
2019-02-14 12:46:02 -06:00
..
dist Introduce ES6 modules 2019-02-14 12:46:02 -06:00
src Introduce ES6 modules 2019-02-14 12:46:02 -06:00
.npmignore Introduce ES6 modules 2019-02-14 12:46:02 -06:00
README.md Introduce ES6 modules 2019-02-14 12:46:02 -06:00
rollup.config.js Introduce ES6 modules 2019-02-14 12:46:02 -06:00

Custom Browser ES Module Loader

This is a module loader using babel and the ES Module Loader polyfill. It's based heavily on https://github.com/ModuleLoader/browser-es-module-loader, but uses WebWorkers to compile the modules in the background.

To generate, run rollup -c in this directory, and then run browserify src/babel-worker.js > dist/babel-worker.js.

LICENSE

MIT