mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-html5
synced 2026-01-08 21:14:07 +00:00
Avoid cluttering the global namespace. Use ES6 modules in order to to this. Signed-off-by: Jeremy White <jwhite@codeweavers.com>
419 B
419 B
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