noVNC/vendor/browser-es-module-loader
Pierre Ossman aadcf47d6f Handle loading web workers in any path
The URL is interpreted relative the current page, not relative
the current script. So we need to have some extra code in order to
allow the module loader to be agnostic to its path.
2017-05-19 14:39:49 +02:00
..
dist Handle loading web workers in any path 2017-05-19 14:39:49 +02:00
src Handle loading web workers in any path 2017-05-19 14:39:49 +02:00
.npmignore Optimize ES6 Module Loader Polyfill 2017-03-21 17:39:07 -04:00
README.md Optimize ES6 Module Loader Polyfill 2017-03-21 17:39:07 -04:00
rollup.config.js Generate source map for ES module loader rollup 2017-03-27 16:30:08 +02:00

README.md

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