{"_id":"preload-webpack-plugin","_rev":"200408","name":"preload-webpack-plugin","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","dist-tags":{"latest":"2.3.0","next":"3.0.0-beta.4"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"time":{"modified":"2021-06-03T12:31:33.000Z","created":"2017-01-26T19:29:12.945Z","3.0.0-beta.4":"2019-08-21T21:01:33.427Z","3.0.0-beta.3":"2018-10-31T13:48:49.177Z","3.0.0-beta.2":"2018-08-13T15:15:45.209Z","3.0.0-beta.1":"2018-06-06T20:34:19.061Z","3.0.0-alpha.3":"2018-04-11T21:07:59.509Z","3.0.0-alpha.2":"2018-04-11T21:06:57.648Z","3.0.0-alpha.1":"2018-03-12T18:02:50.009Z","2.3.0":"2018-03-01T20:58:44.850Z","2.2.0":"2018-01-11T16:07:59.810Z","2.1.2":"2018-01-02T15:52:02.380Z","2.1.1":"2017-12-18T19:13:33.712Z","2.1.0":"2017-12-18T17:31:35.082Z","2.0.0":"2017-08-21T00:05:19.621Z","1.2.3":"2017-07-29T05:06:32.477Z","1.2.2":"2017-03-25T05:31:51.228Z","1.2.1":"2017-03-06T02:28:26.841Z","1.2.0":"2017-02-14T23:27:34.682Z","1.1.0":"2017-02-02T21:44:39.010Z","1.0.0":"2017-01-27T22:14:01.297Z","0.0.8":"2017-01-26T19:29:12.945Z"},"users":{"alimaster":true,"goldencrow":true,"monkeykode":true,"zlatip":true,"taivare":true,"xyyjk":true,"tomekf":true,"sejoker":true,"thevikingcoder":true,"cbetancourt":true,"maddas":true,"dwqs":true},"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"versions":{"3.0.0-beta.4":{"name":"preload-webpack-plugin","version":"3.0.0-beta.4","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload"],"engines":{"node":">=8.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack*/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish-stable":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","eslint":"^6.2.1","eslint-config-google":"^0.13.0","jasmine":"^3.4.0","jsdom":"^15.1.1","memory-fs":"^0.4.1","nyc":"^14.1.1","rimraf":"^3.0.0"},"peerDependencies":{"html-webpack-plugin":">=3.0.0","webpack":">=4.0.0"},"readmeFilename":"README.md","gitHead":"fa21468e74cf1632e73900b2d7b1e5ae4e052be2","_id":"preload-webpack-plugin@3.0.0-beta.4","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","dist":{"shasum":"b8a36046df3b4a1b61db55d92f1a5aebdb99d246","size":11034,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-beta.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-beta.4.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-beta.4_1566421293260_0.2106725015895765"},"_hasShrinkwrap":false,"publish_time":1566421293427,"_cnpm_publish_time":1566421293427},"3.0.0-beta.3":{"name":"preload-webpack-plugin","version":"3.0.0-beta.3","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack*/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish-stable":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","eslint":"^5.6.1","eslint-config-google":"^0.10.0","html-webpack-plugin":"^4.0.0-beta.2","jasmine":"^3.2.0","jsdom":"^12.1.0","memory-fs":"^0.4.1","nyc":"^13.0.1","rimraf":"^2.6.2","webpack":"^4.20.2"},"peerDependencies":{"html-webpack-plugin":">=2.26.0","webpack":">=3.2.0"},"dependencies":{"core-js":"^2.5.7","url-parse":"^1.4.3"},"readmeFilename":"README.md","gitHead":"7905a9ce0b91e1ccb89bb360497dcc84d1c6997a","_id":"preload-webpack-plugin@3.0.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"945990d0cd90d3ecb15a2f6fc59f742e39930db6","size":11730,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-beta.3.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-beta.3_1540993728972_0.7067455396655649"},"_hasShrinkwrap":false,"publish_time":1540993729177,"_cnpm_publish_time":1540993729177},"3.0.0-beta.2":{"name":"preload-webpack-plugin","version":"3.0.0-beta.2","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack3/index.js test/webpack4/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish-stable":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","files":["build"],"devDependencies":{"@babel/cli":"^7.0.0-rc.1","@babel/core":"^7.0.0-rc.1","@babel/preset-env":"^7.0.0-rc.1","eslint":"^5.3.0","eslint-config-google":"^0.9.1","jasmine":"^3.2.0","jsdom":"^11.12.0","memory-fs":"^0.4.1","nyc":"^12.0.2","rimraf":"^2.6.2"},"peerDependencies":{"html-webpack-plugin":">=2.26.0","webpack":">=3.2.0"},"dependencies":{"url-parse":"^1.4.3"},"readmeFilename":"README.md","gitHead":"678aae5c0d7a8c928a5f8c8028fa1dc27c0f6d4e","_id":"preload-webpack-plugin@3.0.0-beta.2","_npmVersion":"6.3.0","_nodeVersion":"10.8.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"8daa06b9f43aad7e4fccd3f52df2cb01760a86f7","size":12208,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-beta.2.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-beta.2_1534173345062_0.46470372502223833"},"_hasShrinkwrap":false,"publish_time":1534173345209,"_cnpm_publish_time":1534173345209},"3.0.0-beta.1":{"name":"preload-webpack-plugin","version":"3.0.0-beta.1","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack3/index.js test/webpack4/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish-stable":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","files":["build"],"devDependencies":{"@babel/cli":"^7.0.0-beta.49","@babel/core":"^7.0.0-beta.49","@babel/plugin-transform-runtime":"^7.0.0-beta.49","@babel/preset-env":"^7.0.0-beta.49","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jasmine":"^3.1.0","jsdom":"^11.11.0","memory-fs":"^0.4.1","nyc":"^12.0.2","rimraf":"^2.6.2"},"peerDependencies":{"html-webpack-plugin":">=2.26.0","webpack":">=3.2.0"},"dependencies":{"@babel/runtime":"^7.0.0-beta.49","url-parse":"^1.4.1"},"readmeFilename":"README.md","gitHead":"5daaa8e2bbe0f0bb2e5f0e0ef6eae2c1ce8e5837","_id":"preload-webpack-plugin@3.0.0-beta.1","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"e1c9d8e2bed2126030982b84bb4f279ac2989b19","size":12040,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-beta.1.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-beta.1_1528317258923_0.2838234155381305"},"_hasShrinkwrap":false,"publish_time":1528317259061,"_cnpm_publish_time":1528317259061},"3.0.0-alpha.3":{"name":"preload-webpack-plugin","version":"3.0.0-alpha.3","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"engines":{"node":">=4.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack3/index.js test/webpack4/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish-stable":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","files":["build"],"devDependencies":{"@babel/cli":"^7.0.0-beta.44","@babel/core":"^7.0.0-beta.44","@babel/plugin-transform-runtime":"^7.0.0-beta.44","@babel/preset-env":"^7.0.0-beta.44","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jasmine":"^3.1.0","jsdom":"^11.7.0","memory-fs":"^0.4.1","nyc":"^11.6.0","rimraf":"^2.6.2"},"peerDependencies":{"html-webpack-plugin":">=2.26.0","webpack":">=3.2.0"},"dependencies":{"@babel/runtime":"^7.0.0-beta.44"},"readmeFilename":"README.md","gitHead":"28740035b08d33a014d09fdb25e5bddc1e110a9b","_id":"preload-webpack-plugin@3.0.0-alpha.3","_npmVersion":"5.7.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"ecf0488a9f29b58e8e0ff295c7f6f11eb6c98efe","size":12140,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-alpha.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-alpha.3.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-alpha.3_1523480879385_0.504075168343499"},"_hasShrinkwrap":false,"publish_time":1523480879509,"_cnpm_publish_time":1523480879509},"3.0.0-alpha.2":{"name":"preload-webpack-plugin","version":"3.0.0-alpha.2","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"engines":{"node":">=4.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack3/index.js test/webpack4/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish-stable":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","files":["build"],"devDependencies":{"@babel/cli":"^7.0.0-beta.44","@babel/core":"^7.0.0-beta.44","@babel/plugin-transform-runtime":"^7.0.0-beta.44","@babel/preset-env":"^7.0.0-beta.44","eslint":"^4.19.1","eslint-config-google":"^0.9.1","jasmine":"^3.1.0","jsdom":"^11.7.0","memory-fs":"^0.4.1","nyc":"^11.6.0","rimraf":"^2.6.2"},"peerDependencies":{"html-webpack-plugin":">=2.26.0","webpack":">=3.2.0"},"dependencies":{"@babel/runtime":"^7.0.0-beta.44"},"readmeFilename":"README.md","gitHead":"6ddeaec2a7349f17ef420ee09d731399c0879ced","_id":"preload-webpack-plugin@3.0.0-alpha.2","_npmVersion":"5.7.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"0987287bcc6b5850ba480cfc3be91b57609a3587","size":12140,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-alpha.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-alpha.2.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-alpha.2_1523480817596_0.8736257936455869"},"_hasShrinkwrap":false,"publish_time":1523480817648,"_cnpm_publish_time":1523480817648},"3.0.0-alpha.1":{"name":"preload-webpack-plugin","version":"3.0.0-alpha.1","description":"A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support","author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"engines":{"node":">=4.0.0"},"scripts":{"lint":"eslint --format=codeframe .","test":"jasmine test/unit/* test/webpack3/index.js test/webpack4/index.js","coverage":"nyc npm run test","clean":"rimraf build","build":"npm run clean && babel --out-dir=build src","publish":"npm run lint && npm run test && npm run build && npm publish","publish-next":"npm run lint && npm run test && npm run build && npm publish --tag next"},"main":"build/index.js","files":["build"],"devDependencies":{"@babel/cli":"^7.0.0-beta.40","@babel/core":"^7.0.0-beta.40","@babel/plugin-transform-runtime":"^7.0.0-beta.40","@babel/preset-env":"^7.0.0-beta.40","eslint":"^4.18.1","eslint-config-google":"^0.9.1","jasmine":"^3.1.0","jsdom":"^11.6.2","memory-fs":"^0.4.1","nyc":"^11.4.1","rimraf":"^2.6.2"},"peerDependencies":{"html-webpack-plugin":"^2.26.0","webpack":"^3.2.0"},"dependencies":{"@babel/runtime":"^7.0.0-beta.40"},"readmeFilename":"README.md","gitHead":"f5d205e230384c979740edf652654391624170bb","_id":"preload-webpack-plugin@3.0.0-alpha.1","_npmVersion":"5.7.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"54a38ae248f050654d4b1a04c481899fe6ee004c","size":12032,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-3.0.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-3.0.0-alpha.1.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_3.0.0-alpha.1_1520877769945_0.5564942672609445"},"_hasShrinkwrap":false,"publish_time":1520877770009,"_cnpm_publish_time":1520877770009},"2.3.0":{"name":"preload-webpack-plugin","version":"2.3.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","css-loader":"^0.28.7","eslint":"^3.14.1","eslint-config-google":"^0.7.1","extract-text-webpack-plugin":"^3.0.0","file-loader":"^0.11.2","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.4.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1","object.values":"^1.0.4"},"gitHead":"f604879b8ac132e9127dd0a9f5b56a5ab4324d2a","_id":"preload-webpack-plugin@2.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"2923d8caff44dead93d1fe5eaab31f3b18ca0de9","size":10516,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-2.3.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin_2.3.0_1519937924777_0.6342044184329207"},"_hasShrinkwrap":false,"publish_time":1519937924850,"_cnpm_publish_time":1519937924850},"2.2.0":{"name":"preload-webpack-plugin","version":"2.2.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.2.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1","object.values":"^1.0.4"},"gitHead":"8c2b3bf3dad9741d74ecaeb3f7a3d5a2cd417d47","_id":"preload-webpack-plugin@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"fa287f1784fdb993bf9cd2bf549d022ff5089459","size":9525,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-2.2.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin-2.2.0.tgz_1515686878783_0.06817219918593764"},"directories":{},"publish_time":1515686879810,"_hasShrinkwrap":false,"_cnpm_publish_time":1515686879810},"2.1.2":{"name":"preload-webpack-plugin","version":"2.1.2","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.2.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1","object.values":"^1.0.4"},"gitHead":"d1abc3c440da9c0a19017a076fe721c6fbda602e","_id":"preload-webpack-plugin@2.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"cc303636c21f08110f57ec6df7e4493210d7d819","size":9498,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-2.1.2.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin-2.1.2.tgz_1514908321410_0.26324362214654684"},"directories":{},"publish_time":1514908322380,"_hasShrinkwrap":false,"_cnpm_publish_time":1514908322380},"2.1.1":{"name":"preload-webpack-plugin","version":"2.1.1","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.2.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1","object.values":"^1.0.4"},"gitHead":"7d18f31e236a1b97eb052a05c3abbb64d22a5e13","_id":"preload-webpack-plugin@2.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"eabdb1fcfce7c7afb939c570d670874ed9b53ee7","size":9432,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-2.1.1.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin-2.1.1.tgz_1513624412708_0.942678171209991"},"directories":{},"publish_time":1513624413712,"_hasShrinkwrap":false,"_cnpm_publish_time":1513624413712},"2.1.0":{"name":"preload-webpack-plugin","version":"2.1.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechromelabs/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.2.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"c88ba96d6589203a6c3e59f28be1393c5ea15f08","_id":"preload-webpack-plugin@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"jeffposnick","email":"jeffy@google.com"},"dist":{"shasum":"0c9342a06dcfab2d81a948ea4d7185228931f27e","size":9385,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-2.1.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin-2.1.0.tgz_1513618294125_0.6902114721015096"},"directories":{},"publish_time":1513618295082,"_hasShrinkwrap":false,"_cnpm_publish_time":1513618295082},"2.0.0":{"name":"preload-webpack-plugin","version":"2.0.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.2.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"491b04ebf013e9c86510debbb16fdcd5d7162ad0","_id":"preload-webpack-plugin@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"a355614548400e29b75d5aa7a114cd63cd99c92d","size":9227,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-2.0.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin-2.0.0.tgz_1503273919546_0.8398870448581874"},"directories":{},"publish_time":1503273919621,"_hasShrinkwrap":false,"_cnpm_publish_time":1503273919621},"1.2.3":{"name":"preload-webpack-plugin","version":"1.2.3","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^3.2.0"},"peerDependencies":{"webpack":"^3.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"f97c5e75100c2398a450087d4eee71f2d8fde7be","_id":"preload-webpack-plugin@1.2.3","_npmVersion":"5.1.0","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"eb51d3a81670272e314d607573b94acd2da3ba5e","size":8681,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-1.2.3.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preload-webpack-plugin-1.2.3.tgz_1501304792316_0.563359804218635"},"directories":{},"publish_time":1501304792477,"_cnpm_publish_time":1501304792477,"_hasShrinkwrap":false},"1.2.2":{"name":"preload-webpack-plugin","version":"1.2.2","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^2.2.0"},"peerDependencies":{"webpack":"^2.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"be728dbfc1d55e778bae94ffb52389db9b936bc4","_id":"preload-webpack-plugin@1.2.2","_shasum":"d1b6f0eab3c2d0bb4c249d409cf6b7a8b0a415dd","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"d1b6f0eab3c2d0bb4c249d409cf6b7a8b0a415dd","size":8687,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-1.2.2.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/preload-webpack-plugin-1.2.2.tgz_1490419910983_0.7502276296727359"},"directories":{},"publish_time":1490419911228,"_hasShrinkwrap":false,"_cnpm_publish_time":1490419911228},"1.2.1":{"name":"preload-webpack-plugin","version":"1.2.1","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^2.2.0"},"peerDependencies":{"webpack":"^2.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"a72cc3eb24bbce45dc5c26c362824375fa1f21b5","_id":"preload-webpack-plugin@1.2.1","_shasum":"591c25fbbaee1a9fd95174b049f53272ed9622e9","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"591c25fbbaee1a9fd95174b049f53272ed9622e9","size":8660,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-1.2.1.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/preload-webpack-plugin-1.2.1.tgz_1488767304913_0.4890805543400347"},"directories":{},"publish_time":1488767306841,"_cnpm_publish_time":1488767306841,"_hasShrinkwrap":false},"1.2.0":{"name":"preload-webpack-plugin","version":"1.2.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^2.2.0"},"peerDependencies":{"webpack":"^2.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"98967bb90a4ee68fb8d5559c69ccffaa36970cd3","_id":"preload-webpack-plugin@1.2.0","_shasum":"d8581794133aaa275307c1c975050bc550b13059","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"d8581794133aaa275307c1c975050bc550b13059","size":8361,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-1.2.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/preload-webpack-plugin-1.2.0.tgz_1487114852910_0.7542268356774002"},"directories":{},"publish_time":1487114854682,"_cnpm_publish_time":1487114854682,"_hasShrinkwrap":false},"1.1.0":{"name":"preload-webpack-plugin","version":"1.1.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^2.2.0"},"peerDependencies":{"webpack":"^2.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"56f7a40ae110e0d5dbb1f77d77e81a77e29a2581","_id":"preload-webpack-plugin@1.1.0","_shasum":"35e41e9297141adb15b45b9a4ba9c8711f1bcd11","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"35e41e9297141adb15b45b9a4ba9c8711f1bcd11","size":8322,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-1.1.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/preload-webpack-plugin-1.1.0.tgz_1486071877142_0.3324620961211622"},"directories":{},"publish_time":1486071879010,"_cnpm_publish_time":1486071879010,"_hasShrinkwrap":false},"1.0.0":{"name":"preload-webpack-plugin","version":"1.0.0","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","scripts":{"lint":"eslint --quiet -f codeframe index.js test/spec.js","lint-fix":"eslint --fix --quiet -f codeframe index.js test/spec.js","test":"node_modules/jasmine/bin/jasmine.js test/spec.js"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"babel-eslint":"^7.1.1","eslint":"^3.14.1","eslint-config-google":"^0.7.1","html-webpack-plugin":"^2.26.0","jasmine":"^2.5.3","webpack":"^2.2.0"},"peerDependencies":{"webpack":"^2.2.0"},"dependencies":{"object-assign":"^4.1.1"},"gitHead":"ce92fb423e90acaf7300f5e714a894167cc6b1b0","_id":"preload-webpack-plugin@1.0.0","_shasum":"0d1750c67bc04769558ed61d86d1b75f86125f9d","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"0d1750c67bc04769558ed61d86d1b75f86125f9d","size":7890,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-1.0.0.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/preload-webpack-plugin-1.0.0.tgz_1485555239428_0.12157024117186666"},"directories":{},"publish_time":1485555241297,"_cnpm_publish_time":1485555241297,"_hasShrinkwrap":false},"0.0.8":{"name":"preload-webpack-plugin","version":"0.0.8","description":"Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts","main":"index.js","files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/googlechrome/preload-webpack-plugin.git"},"keywords":["webpack","plugin","html-webpack-plugin","script","preload","resource hints"],"author":{"name":"Addy Osmani","email":"addy.osmani@gmail.com","url":"https://github.com/addyosmani"},"license":"Apache-2.0","bugs":{"url":"https://github.com/googlechrome/preload-webpack-plugin/issues"},"homepage":"https://github.com/googlechrome/preload-webpack-plugin","devDependencies":{"html-webpack-plugin":"^2.26.0"},"peerDependencies":{"webpack":"1 || ^2.2.0"},"gitHead":"f5ccafddd0f5a494485a72f6534a7127ae3bf921","_id":"preload-webpack-plugin@0.0.8","scripts":{},"_shasum":"9c943a834f8f51477bf3a9e63f81c0cf1509680c","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"addyosmani","email":"addyosmani@gmail.com"},"dist":{"shasum":"9c943a834f8f51477bf3a9e63f81c0cf1509680c","size":6672,"noattachment":false,"key":"/preload-webpack-plugin/-/preload-webpack-plugin-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/preload-webpack-plugin/download/preload-webpack-plugin-0.0.8.tgz"},"maintainers":[{"name":"addyosmani","email":""},{"name":"jeffposnick","email":"jeffy@google.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/preload-webpack-plugin-0.0.8.tgz_1485458951077_0.06226449576206505"},"directories":{},"publish_time":1485458952945,"_cnpm_publish_time":1485458952945,"_hasShrinkwrap":false}},"readme":"preload-webpack-plugin\n============\n[![NPM version][npm-img]][npm-url]\n[![NPM downloads][npm-downloads-img]][npm-url]\n[![Dependency Status][daviddm-img]][daviddm-url]\n\n![preloads-plugin-compressor](https://cloud.githubusercontent.com/assets/110953/22451103/7700b812-e720-11e6-89e8-a6d4e3533159.png)\n\nA Webpack plugin for automatically wiring up asynchronous (and other types) of JavaScript\nchunks using `<link rel='preload'>`. This helps with lazy-loading.\n\nNote: This is an extension plugin for [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin) - a plugin that\nsimplifies the creation of HTML files to serve your webpack bundles.\n\nThis plugin is a stop-gap until we add support for asynchronous chunk wiring to\n[script-ext-html-webpack-plugin](https://github.com/numical/script-ext-html-webpack-plugin/pull/9).\n\nIntroduction\n------------\n\n[Preload](https://w3c.github.io/preload/) is a web standard aimed at improving performance\nand granular loading of resources. It is a declarative fetch that can tell a browser to start fetching a\nsource because a developer knows the resource will be needed soon. [Preload: What is it good for?](https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/)\nis a recommended read if you haven't used the feature before.\n\nIn simple web apps, it's straight-forward to specify static paths to scripts you\nwould like to preload - especially if their names or locations are unlikely to change. In more complex apps,\nJavaScript can be split into \"chunks\" (that represent routes or components) at with dynamic\nnames. These names can include hashes, numbers and other properties that can change with each build.\n\nFor example, `chunk.31132ae6680e598f8879.js`.\n\nTo make it easier to wire up async chunks for lazy-loading, this plugin offers a drop-in way to wire them up\nusing `<link rel='preload'>`.\n\nPre-requisites\n--------------\nThis module requires Webpack 2.2.0 and above. It also requires that you're using\n[html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin) in your Webpack project.\n\nInstallation\n---------------\n\nFirst, install the package as a dependency in your package.json:\n\n```sh\n$ npm install --save-dev preload-webpack-plugin\n```\n\nAlternatively, using yarn:\n\n```sh\nyarn add -D preload-webpack-plugin\n```\n\nUsage\n-----------------\n\nNext, in your Webpack config, `require()` the preload plugin as follows:\n\n```js\nconst PreloadWebpackPlugin = require('preload-webpack-plugin');\n```\n\nand finally, configure the plugin in your Webpack `plugins` array after `HtmlWebpackPlugin`:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin()\n]\n```\n\nWhen preloading files, the plugin will use different `as` attribute depends on the type of each\nfile. For each file ends with `.css`, the plugin will preload it with `as=style`, for each file ends\nwith `.woff2`, the plugin will preload it with `as=font`, while for all other files, `as=script`\nwill be used.\n\nIf you do not prefer to determine `as` attribute depends on suffix of filename, you can also\nexplicitly name it using `as`:\n\n```javascript\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'preload',\n    as: 'script'\n  })\n]\n```\n\nIn case you need more fine-grained control of the `as` atribute, you could also provide a function here.\nWhen using it, entry name will be provided as the parameter, and function itself should return a\nstring for `as` attribute:\n\n```javascript\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'preload',\n    as(entry) {\n      if (/\\.css$/.test(entry)) return 'style';\n      if (/\\.woff$/.test(entry)) return 'font';\n      if (/\\.png$/.test(entry)) return 'image';\n      return 'script';\n    }\n  })\n]\n```\n\nNotice that if `as=font` is used in preload, crossorigin will be added, otherwise the font resource\nmight be double fetched. Explains can be found in [this article](https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf).\n\nBy default, the plugin will assume async script chunks will be preloaded. This is the equivalent of:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'preload',\n    include: 'asyncChunks'\n  })\n]\n```\n\nFor a project generating two async scripts with dynamically generated names, such as\n`chunk.31132ae6680e598f8879.js` and `chunk.d15e7fdfc91b34bb78c4.js`, the following preloads\nwill be injected into the document `<head>`:\n\n```html\n<link rel=\"preload\" as=\"script\" href=\"chunk.31132ae6680e598f8879.js\">\n<link rel=\"preload\" as=\"script\" href=\"chunk.d15e7fdfc91b34bb78c4.js\">\n```\n\nYou can also configure the plugin to preload all chunks (vendor, async, normal chunks) using `include: 'allChunks'`, or only preload initial chunks with `include: 'initial'`:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'preload',\n    include: 'allChunks' // or 'initial'\n  })\n]\n```\n\nIn case you work with named chunks, you can explicitly specify which ones to `include` by passing an array:\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'preload',\n    include: ['home']\n  })\n]\n```\n\nwill inject just this:\n\n```html\n<link rel=\"preload\" as=\"script\" href=\"home.31132ae6680e598f8879.js\">\n```\n\nIt is very common in Webpack to use loaders such as `file-loader` to generate assets for specific\ntypes, such as fonts or images. If you wish to preload these files as well, you can use `include`\nwith value `allAssets`:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'preload',\n    include: 'allAssets',\n  })\n]\n```\n\nOne thing worth noticing: `file-loader` provides an option to specify `publicPath` just for assets.\nHowever, that information seems to be lost when this plugin is doing its job. Thus, this plugin\nwill use `publicPath` defined in `output` config. It could be an issue, if `publicPath` in `file-loader`\nand `publicPath` in `webpack` config have different values.\n\nUsually you don't want to preload all of them but only keep the necessary resources, you can use\n`fileBlacklist` or `fileWhitelist` shown below to filter.\n\nFiltering chunks\n---------------------\n\nThere may be chunks that you don't want to have preloaded (sourcemaps, for example). Before preloading each chunk, this plugin checks that the file does not match any regex in the `fileBlacklist` option. The default value of this blacklist is `[/\\.map/]`, meaning no sourcemaps will be preloaded. You can easily override this:\n\n```js\nnew PreloadWebpackPlugin({\n  fileBlacklist: [/\\.whatever/]\n})\n```\n\nPassing your own array will override the default, so if you want to continue filtering sourcemaps along with your own custom settings, you'll need to include the regex for sourcemaps:\n\n```js\nnew PreloadWebpackPlugin({\n  fileBlacklist: [/\\.map/, /\\.whatever/]\n})\n```\n\nIf you use `include=\"allAssets\"`, you might find excluding all unnecessary files one by one a\nbit annoying. In this case, you can use `fileWhitelist` to only include the files you want:\n\n```js\nnew PreloadWebpackPlugin({\n  fileWhitelist: [/\\.files/, /\\.to/, /\\.include/],\n})\n```\n\nnotice that if `fileWhitelist` is not provided, it will not filter any file out.\n\nAlso, you could use `fileWhitelist` and `fileBlacklist` together:\n\n```js\nnew PreloadWebpackPlugin({\n  fileWhitelist: [/\\.files/, /\\.to/, /\\.include/],\n  fileBlacklist: [/\\.files/, /\\.to/, /\\.exclude/],\n})\n```\n\nIn example above, only files with name matches `/\\.include/` will be included.\n\n## Filtering HTML\n\nIn some case, you may don't want to preload resource on some file. But using `fileBlacklist`  is weird, because you may want to inlcude this chunk on another file. So you can use `excludeHtmlNames` to tell preload plugin to ignore this file.\n\nIf you have multiple html like index.html and example.html, you can exclude index.html like this.\n\n```javascript\nplugins: [\n  new HtmlWebpackPlugin({\n    filename: 'index.html',\n    template: 'src/index.html',\n    chunks: ['main']\n  }),\n  new HtmlWebpackPlugin({\n    filename: 'example.html',\n    template: 'src/example.html',\n    chunks: ['exampleEntry']\n  }),\n  // I want this to affect only index.html\n  new PreloadWebpackPlugin({\n    excludeHtmlNames: ['index.html'],\n  })\n```\n\nResource Hints\n---------------------\n\nShould you wish to use Resource Hints (such as `prefetch`) instead of `preload`, this plugin also supports wiring those up.\n\nPrefetch:\n\n```js\nplugins: [\n  new HtmlWebpackPlugin(),\n  new PreloadWebpackPlugin({\n    rel: 'prefetch'\n  })\n]\n```\n\nFor the async chunks mentioned earlier, the plugin would update your HTML to the following:\n\n```html\n<link rel=\"prefetch\" href=\"chunk.31132ae6680e598f8879.js\">\n<link rel=\"prefetch\" href=\"chunk.d15e7fdfc91b34bb78c4.js\">\n```\n\nDemo\n----------------------\n\nA demo application implementing the [PRPL pattern](https://developers.google.com/web/fundamentals/performance/prpl-pattern/) with React that uses this plugin can be found in the `demo`\ndirectory.\n\nSupport\n-------\n\nIf you've found an error in this sample, please file an issue:\n[https://github.com/googlechrome/preload-webpack-plugin/issues](https://github.com/googlechrome/preload-webpack-plugin/issues)\n\nPatches are encouraged, and may be submitted by forking this project and\nsubmitting a pull request through GitHub.\n\nContributing workflow\n---------------------\n\n`index.js` contains the primary source for the plugin, `test` contains tests and `demo` contains demo code.\n\nTest the plugin:\n\n```sh\n$ npm install\n$ npm run test\n```\n\nLint the plugin:\n\n```sh\n$ npm run lint\n$ npm run lint-fix # fix linting issues\n```\n\nThe project is written in ES2015, but does not use a build-step. This may change depending on\nany Node version support requests posted to the issue tracker.\n\nAdditional Notes\n---------------------------\n\n* Be careful not to `preload` resources a user is unlikely to need. This can waste their bandwidth.\n* Use `preload` for the current session if you think a user is likely to visit the next page. There is no\n  100% guarantee preloaded items will end up in the HTTP Cache and read locally beyond this session.\n* If optimising for future sessions, use `prefetch` and `preconnect`. Prefetched resources are maintained\n  in the HTTP Cache for at least 5 minutes (in Chrome) regardless of the resource's cachability.\n\nRelated plugins\n--------------------------\n\n* [script-ext-html-webpack-plugin](https://github.com/numical/script-ext-html-webpack-plugin) - Enhances html-webpack-plugin with options including 'async', 'defer', 'module' and preload (no async chunk support yet)\n* [resource-hints-webpack-plugin](https://github.com/jantimon/resource-hints-webpack-plugin) - Automatically wires resource hints for your resources (similarly no async chunk support)\n\nLicense\n-------\n\nCopyright 2017 Google, Inc.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements.  See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership.  The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License.  You may obtain a copy of\nthe License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n\n[npm-url]: https://npmjs.org/package/preload-webpack-plugin\n[npm-img]: https://badge.fury.io/js/preload-webpack-plugin.svg\n[npm-downloads-img]: https://img.shields.io/npm/dm/preload-webpack-plugin.svg?style=flat-square\n[daviddm-img]: https://david-dm.org/googlechromelabs/preload-webpack-plugin.svg\n[daviddm-url]: https://david-dm.org/googlechromelabs/preload-webpack-plugin\n","_attachments":{},"homepage":"https://github.com/googlechromelabs/preload-webpack-plugin","bugs":{"url":"https://github.com/googlechromelabs/preload-webpack-plugin/issues"},"license":"Apache-2.0"}