{"_id":"rollup-plugin-loadz0r","_rev":"345949","name":"rollup-plugin-loadz0r","description":"Rollup plugin to make code splitting “just work”","dist-tags":{"latest":"0.7.2"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"time":{"modified":"2021-06-20T02:39:40.000Z","created":"2018-08-06T14:48:12.325Z","0.7.2":"2019-06-13T12:00:03.686Z","0.7.1":"2019-03-15T18:04:34.174Z","0.7.0":"2019-03-04T19:20:51.671Z","0.6.0":"2019-01-28T13:17:26.408Z","0.5.1":"2019-01-02T18:50:43.483Z","0.5.0":"2018-11-27T15:57:44.276Z","0.4.1":"2018-09-01T22:22:39.821Z","0.4.0":"2018-08-25T21:56:38.739Z","0.3.0":"2018-08-15T19:04:05.378Z","0.2.3":"2018-08-14T21:47:34.714Z","0.2.2":"2018-08-10T18:00:56.917Z","0.2.1":"2018-08-09T13:30:22.772Z","0.2.0":"2018-08-09T13:19:16.053Z","0.1.4":"2018-08-08T12:42:01.919Z","0.1.3":"2018-08-08T12:41:20.586Z","0.1.2":"2018-08-08T12:38:07.394Z","0.1.1":"2018-08-07T20:20:13.138Z","0.1.0":"2018-08-06T14:48:12.325Z"},"users":{},"author":{"name":"Surma","email":"surma@google.com"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"versions":{"0.7.2":{"name":"rollup-plugin-loadz0r","version":"0.7.2","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write 'tests/**/*.js' *.js *.md *.json","test":"node ./run_tests.js"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"4.1.0","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.1.4","prettier":"1.18.2","rollup":"1.15.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"ejs":"^2.6.1","magic-string":"^0.25.0"},"gitHead":"35b511e23e6675801b0ff025d7ae46c445251a83","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.7.2","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"0b1ae403a82ee5e5f38ee724ad81799ad2fa4569","size":11013,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.7.2.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.7.2_1560427203560_0.4757418817922576"},"_hasShrinkwrap":false,"publish_time":1560427203686,"_cnpm_publish_time":1560427203686,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.7.1":{"name":"rollup-plugin-loadz0r","version":"0.7.1","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write 'tests/**/*.js' *.js *.md *.json","test":"node ./run_tests.js"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.0.2","prettier":"1.16.4","rollup":"1.6.0"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"ejs":"^2.6.1","magic-string":"^0.25.0"},"gitHead":"cc1f872b107d2a584db9f5e2f6cb69f291aa38b4","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.7.1","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"e1c1be4c88a3522fae725da86140294c37961686","size":10837,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.7.1.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.7.1_1552673074070_0.745223617496322"},"_hasShrinkwrap":false,"publish_time":1552673074174,"_cnpm_publish_time":1552673074174,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.7.0":{"name":"rollup-plugin-loadz0r","version":"0.7.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write 'tests/**/*.js' *.js *.md *.json","test":"node ./run_tests.js"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"4.0.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"6.0.2","prettier":"1.16.4","rollup":"1.4.1"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"ejs":"^2.6.1","magic-string":"^0.25.0"},"gitHead":"40870d9f3949a5155f931a2f5ddf96365b06e817","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.7.0","_nodeVersion":"11.9.0","_npmVersion":"6.8.0","dist":{"shasum":"9281da1ffd866be364dcef257cbfded05ca0b541","size":10665,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.7.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.7.0_1551727251548_0.6607732042996817"},"_hasShrinkwrap":false,"publish_time":1551727251671,"_cnpm_publish_time":1551727251671,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.6.0":{"name":"rollup-plugin-loadz0r","version":"0.6.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write 'tests/**/*.js' *.js *.md *.json","test":"node ./run_tests.js"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"chai":"4.2.0","karma":"4.0.0","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.1.0","karma-mocha":"1.3.0","karma-safari-launcher":"1.0.0","karma-safaritechpreview-launcher":"2.0.2","mocha":"5.2.0","prettier":"1.16.1","rollup":"1.1.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"ejs":"^2.6.1","magic-string":"^0.25.0"},"gitHead":"c6d9ab9f883f775e69d32ab5c5bd88bacd56d46d","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.6.0","_nodeVersion":"11.1.0","_npmVersion":"6.7.0","dist":{"shasum":"2f9d80cc6d2305f47d27e4c4f03d0f1a245c741f","size":10638,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.6.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"_npmUser":{"name":"surma","email":"surma@surma.link"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.6.0_1548681446315_0.31826026648185235"},"_hasShrinkwrap":false,"publish_time":1548681446408,"_cnpm_publish_time":1548681446408,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.5.1":{"name":"rollup-plugin-loadz0r","version":"0.5.1","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write 'tests/**/*.js' *.js *.md *.json","test":"node ./run_tests.js"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"chai":"^4.2.0","karma":"^3.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"^1.0.0","mocha":"^5.2.0","prettier":"1.15.2","rollup":"^0.67.3"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"ejs":"^2.6.1","magic-string":"^0.25.0"},"gitHead":"09a15ed7dfe401c405fa9cf7162565543396d6d0","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.5.1","_npmVersion":"6.5.0","_nodeVersion":"11.1.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"7e2a78c4506716a1ff48db4ea10ac3ecf5f75374","size":10600,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.5.1.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.5.1_1546455043347_0.32993572320267317"},"_hasShrinkwrap":false,"publish_time":1546455043483,"_cnpm_publish_time":1546455043483,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.5.0":{"name":"rollup-plugin-loadz0r","version":"0.5.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write 'tests/**/*.js' *.js *.md *.json","test":"node ./run_tests.js"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"chai":"^4.2.0","karma":"^3.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"^1.0.0","mocha":"^5.2.0","prettier":"1.15.2","rollup":"^0.67.3"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"ejs":"^2.6.1","magic-string":"^0.25.0"},"gitHead":"45e89b50b5e2548930842ea3efbf0ff5385f7f7e","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.5.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"c44a64d1ddc19f5ff557df03549e2533d3498379","size":10324,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.5.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.5.0_1543334264163_0.5168269152508189"},"_hasShrinkwrap":false,"publish_time":1543334264276,"_cnpm_publish_time":1543334264276,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.4.1":{"name":"rollup-plugin-loadz0r","version":"0.4.1","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"magic-string":"^0.25.0","preprocessor":"^1.4.0"},"gitHead":"2b31c93fad388a99f9e10a9406e4a5bdfea58cfd","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.4.1","_npmVersion":"6.4.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"05a6226e2172d4836423209dc44f4bcc47e56e8e","size":8229,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.4.1.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.4.1_1535840559659_0.968675613545624"},"_hasShrinkwrap":false,"publish_time":1535840559821,"_cnpm_publish_time":1535840559821,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.4.0":{"name":"rollup-plugin-loadz0r","version":"0.4.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"magic-string":"^0.25.0","preprocessor":"^1.4.0"},"gitHead":"2fb5ce7bb645bcc6c4533bc1fc99c841c3b6461a","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.4.0","_npmVersion":"6.4.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"98563ff7528a3a3153ae71a1fef7e27127dd1252","size":8222,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.4.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.4.0_1535234198671_0.9815266568476149"},"_hasShrinkwrap":false,"publish_time":1535234198739,"_cnpm_publish_time":1535234198739,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.3.0":{"name":"rollup-plugin-loadz0r","version":"0.3.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"magic-string":"^0.25.0","preprocessor":"^1.4.0"},"gitHead":"7eb3a35c1c7663b6101c418cb3022e60ce584401","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.3.0","_npmVersion":"6.3.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"9c3645aa49fdf8774a156bed09740abce579b909","size":8096,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.3.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.3.0_1534359845249_0.5630038536375868"},"_hasShrinkwrap":false,"publish_time":1534359845378,"_cnpm_publish_time":1534359845378,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.2.3":{"name":"rollup-plugin-loadz0r","version":"0.2.3","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"preprocessor":"^1.4.0"},"gitHead":"2f67d1dae9437423df768a1c6b4e0d23f6ebbce0","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.2.3","_npmVersion":"6.3.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"dc0e680d9f3a816d3ca55e06dff18c7bc128b1cc","size":8072,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.2.3.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.2.3_1534283254623_0.34447929033378677"},"_hasShrinkwrap":false,"publish_time":1534283254714,"_cnpm_publish_time":1534283254714,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.2.2":{"name":"rollup-plugin-loadz0r","version":"0.2.2","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.2"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"preprocessor":"^1.4.0"},"gitHead":"18969607c4f9fdbfb25bbe29641e009d6af3929c","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.2.2","_npmVersion":"6.3.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"09d6c3c6ae396e6f726ef63c8637471572f3d3cb","size":8036,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.2.2.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.2.2_1533924056816_0.6352807549727504"},"_hasShrinkwrap":false,"publish_time":1533924056917,"_cnpm_publish_time":1533924056917,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.2.1":{"name":"rollup-plugin-loadz0r","version":"0.2.1","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.1"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"dependencies":{"preprocessor":"^1.4.0"},"gitHead":"30aed23a6c0e5c4b4d98f4b60549c9d2d75c725e","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.2.1","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"1af340a41a12e947e5d792151f97d008b4e60169","size":7966,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.2.1.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.2.1_1533821422415_0.9325952013943546"},"_hasShrinkwrap":false,"publish_time":1533821422772,"_cnpm_publish_time":1533821422772,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.2.0":{"name":"rollup-plugin-loadz0r","version":"0.2.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md *.json","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"preprocessor":"^1.4.0","prettier":"1.14.1"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"gitHead":"4260055710818a3bf70020bb0a92378b284e5d36","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"ed9cbb6d76f83c7a8162177fc7d462b91d474077","size":7961,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.2.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.2.0_1533820755995_0.364009894042159"},"_hasShrinkwrap":false,"publish_time":1533820756053,"_cnpm_publish_time":1533820756053,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.1.4":{"name":"rollup-plugin-loadz0r","version":"0.1.4","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.0"},"repository":{"type":"git","url":"git+https://github.com/surma/rollup-plugin-loadz0r.git"},"gitHead":"9719339be201ea9e1332e46b9a82e12033cc7a1d","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","_id":"rollup-plugin-loadz0r@0.1.4","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"d30bc0d6ba1b104c3842a534a53e5f6bad42ebf9","size":7657,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.1.4.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.1.4_1533732121846_0.34082893929530567"},"_hasShrinkwrap":false,"publish_time":1533732121919,"_cnpm_publish_time":1533732121919,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.1.3":{"name":"rollup-plugin-loadz0r","version":"0.1.3","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.0"},"repository":{"type":"git","url":"https://github.com/surma/rollup-plugin/loadz0r"},"gitHead":"d4bc1531840cb817e22131e86859d17e50297681","_id":"rollup-plugin-loadz0r@0.1.3","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"be532b545bc5e8124cfbe913f640b86cd143637c","size":7660,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.1.3.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.1.3_1533732080493_0.9865482185941528"},"_hasShrinkwrap":false,"publish_time":1533732080586,"_cnpm_publish_time":1533732080586,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.1.2":{"name":"rollup-plugin-loadz0r","version":"0.1.2","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"1.14.0"},"gitHead":"6b32b34537e711232757a70d6486a92bd153757e","_id":"rollup-plugin-loadz0r@0.1.2","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"d33c5a47b07d1059ac9ce705f37a0af28c2a8544","size":7628,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.1.2.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.1.2_1533731887312_0.5299930778163935"},"_hasShrinkwrap":false,"publish_time":1533731887394,"_cnpm_publish_time":1533731887394,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.1.1":{"name":"rollup-plugin-loadz0r","version":"0.1.1","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"^1.14.0"},"gitHead":"b69d376544dda1814e8954f06d981bcbf992995d","_id":"rollup-plugin-loadz0r@0.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"14e7f1f3d5920130f37d98a7dadb4951b4f19c28","size":7216,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.1.1.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.1.1_1533673213004_0.047465019216998305"},"_hasShrinkwrap":false,"publish_time":1533673213138,"_cnpm_publish_time":1533673213138,"deprecated":"Please use rollup-plugin-off-main-thread instead"},"0.1.0":{"name":"rollup-plugin-loadz0r","version":"0.1.0","description":"Rollup plugin to make code splitting “just work”","main":"index.js","scripts":{"fmt":"prettier --write *.js *.md","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Surma","email":"surma@google.com"},"license":"Apache-2.0","devDependencies":{"prettier":"^1.14.0"},"gitHead":"8cd69ea0de1c97070ae508b1ea11b6cb8857bc31","_id":"rollup-plugin-loadz0r@0.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"surma","email":"surma@surma.link"},"dist":{"shasum":"9793df51210c83b3b1b144c713dad4baf89a09fc","size":7172,"noattachment":false,"key":"/rollup-plugin-loadz0r/-/rollup-plugin-loadz0r-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-loadz0r/download/rollup-plugin-loadz0r-0.1.0.tgz"},"maintainers":[{"name":"surma","email":"surma@surmair.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-loadz0r_0.1.0_1533566892184_0.02680210697869101"},"_hasShrinkwrap":false,"publish_time":1533566892325,"_cnpm_publish_time":1533566892325,"deprecated":"Please use rollup-plugin-off-main-thread instead"}},"readme":"# rollup-plugin-loadz0r\n\nAn ill-named rollup plugin so you can use `import()` in every browser, even in workers.\n\n```\n$ npm install --save rollup-plugin-loadz0r\n```\n\nCode splitting is important to make loading more efficient by only loading what you need. This becomes literally doubly important when you are using workers (including service workers), as [they might share dependencies with your UI thread and you don’t want to load the same code twice][splitting]. That’s the point where you usually run into the issue that workers don’t have support for modules anywhere just yet. To work around this you can either pick a full-blown module loader like [RequireJS] or [SystemJS] **or you can use loadz0r!!!!1!11**.\n\nThe plugin packs a tiny (~380B gzip’d) almost-AMD loader that is specifically tailored to the output that rollup produces. It is so small in fact, that it is totally acceptable to just prepend the loader to all entry point modules. This way you don’t have to load a module loader and then pay another round-trip to load your bootstrap code.\n\n**This plugin is only necessary for as long as there is no mainstream support for modules in workers.** Once modules in workers land, just use rollup’s ES Module output format.\n\n> Note: The reason the loader is so small is because _it is not a general purpose loader_. It most likely won’t work with anything but rollup generated bundles.\n\n## Usage\n\n```js\n// rollup.config.js\nimport loadz0r from \"rollup-plugin-loadz0r\";\n\nexport default {\n  input: [\"src/main.js\", \"src/worker.js\", \"src/serviceworker.js\"],\n  output: {\n    dir: \"dist\",\n    // You _must_ use “amd” as your format\n    format: \"amd\"\n  },\n  plugins: [loadz0r()]\n};\n```\n\n## Options\n\n```js\n{\n  // ...\n  plugins: [loadz0r(options)];\n}\n```\n\n- `loader`: A string containing the source of the loader. If `undefined,` loadz0r will use the aforementioned minimal AMD loader (see `loader.js`).\n- `useEval`: Use `fetch()` + `eval()` to load dependencies instead of `<script>` tags and `importScripts()`. _This is not CSP compliant, but is required if you want to use dynamic imports in ServiceWorker_.\n- `publicPath`: The location your AMD modules will be served from. If undefined, module URLs are relative to the current page. A value of `{ publicPath: '/scripts' }` would change `./chunk-xyz123.js` to `/scripts/chunk-xyz123.js`.\n\n[rollup]: https://rollupjs.org/\n[requirejs]: https://requirejs.org/\n[systemjs]: https://github.com/systemjs/systemjs\n[splitting]: https://twitter.com/DasSurma/status/1013489346090012672\n\n---\n\nLicense Apache-2.0\n","_attachments":{},"homepage":"https://github.com/surma/rollup-plugin-loadz0r#readme","bugs":{"url":"https://github.com/surma/rollup-plugin-loadz0r/issues"},"license":"Apache-2.0"}