noVNC/vendor/browser-es-module-loader
Solly Ross 399fa2ee2d Optimize ES6 Module Loader Polyfill
This commit makes the ES6 module loader polyfill use Web Workers,
so that Babel doesn't block the browser from animating.  It also
uses localStorage to cache the compiled results, only recompiling
on source changes, so it makes loading faster while developing noVNC.

This includes a vendored copy of the ES6 module loader, modified as
described above.
2017-03-21 17:39:07 -04:00
..
dist Optimize ES6 Module Loader Polyfill 2017-03-21 17:39:07 -04:00
src Optimize ES6 Module Loader Polyfill 2017-03-21 17:39:07 -04: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 Optimize ES6 Module Loader Polyfill 2017-03-21 17:39:07 -04: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