diff options
author | Solly Ross <sross@redhat.com> | 2017-02-11 16:49:03 -0500 |
---|---|---|
committer | Solly Ross <sross@redhat.com> | 2017-03-21 17:39:07 -0400 |
commit | 399fa2ee2da4b7a766e7b95b56436e79f0a42a73 (patch) | |
tree | 5f37101b8384b95662fa6a81fd3d95a5c72ce203 /package.json | |
parent | e25f9c40102c6566e63b7caa30f620da86fd0d60 (diff) | |
download | novnc-399fa2ee2da4b7a766e7b95b56436e79f0a42a73.tar.gz |
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.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package.json b/package.json index 5bc8924..716a12f 100644 --- a/package.json +++ b/package.json @@ -35,10 +35,10 @@ "babel-plugin-transform-es2015-modules-systemjs": "^6.22.0", "babel-plugin-transform-es2015-modules-umd": "^6.22.0", "babelify": "^7.3.0", - "browser-es-module-loader": "^0.4.1", "browserify": "^13.1.0", "chai": "^3.5.0", "commander": "^2.9.0", + "es-module-loader": "^2.1.0", "fs-extra": "^1.0.0", "jsdom": "*", "karma": "^1.3.0", @@ -46,12 +46,14 @@ "karma-chai": "^0.1.0", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.0", - "karma-sauce-launcher": "^1.0.0", "karma-requirejs": "^1.1.0", - "requirejs": "^2.3.2", + "karma-sauce-launcher": "^1.0.0", "mocha": "^3.1.2", "node-getopt": "*", "po2json": "*", + "requirejs": "^2.3.2", + "rollup": "^0.41.4", + "rollup-plugin-node-resolve": "^2.0.0", "sinon-chai": "^2.8.0" } } |