{"_id":"base-href-webpack-plugin","_rev":"9-928048f58b01326c93ee07b3bcb967a9","name":"base-href-webpack-plugin","description":"Webpack plugin for inserting base href tag in head block","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"base-href-webpack-plugin","version":"1.0.0","description":"Webpack plugin for inserting base href tag in head block","main":"index.js","files":["index.js"],"scripts":{"build":"babel ./es6 --presets es2015 --out-dir .","watch":"babel --watch ./es6 --presets es2015 --out-dir .","prepublish":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.9.0"},"gitHead":"5525b7cc369c20efdb882cad80d2828065ed5937","_id":"base-href-webpack-plugin@1.0.0","_shasum":"cbe8f15229dfbaf846fb29f2ac0948508697941d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"5.11.1","_npmUser":{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"},"dist":{"shasum":"cbe8f15229dfbaf846fb29f2ac0948508697941d","tarball":"https://registry.npmjs.org/base-href-webpack-plugin/-/base-href-webpack-plugin-1.0.0.tgz","integrity":"sha512-r2wZ4egWK+wO2zKLNkzxgSgnGLuu77GkuAOaLTMJpV7PYZEn2sUFq4a6SvvgFJULBz5gUa3URyuTKt2r+m5xAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEYR3VJBUGxck8voh8VwVLkzlxtxiStDB+oWPyCpl6m/AiAreI7TbmykzPoA6OImNvL/GL5Cku68MnZZW4HuzpBkJA=="}]},"maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/base-href-webpack-plugin-1.0.0.tgz_1469790581369_0.07374190539121628"},"directories":{}},"1.0.1":{"name":"base-href-webpack-plugin","version":"1.0.1","description":"Webpack plugin for inserting base href tag in head block","main":"./build/index.js","typings":"index.d.ts","files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/dzonatan/base-href-webpack-plugin.git"},"scripts":{"build":"babel ./index.js --presets es2015 --out-dir ./build","watch":"babel --watch ./index.js --presets es2015 --out-dir ./build","prepublish":"npm run build","pretest":"npm run build","test":"jasmine ./index.spec.js"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.9.0","jasmine":"^2.5.3"},"gitHead":"d1ec3be17190783200f8a846e9548aeb5edba794","bugs":{"url":"https://github.com/dzonatan/base-href-webpack-plugin/issues"},"homepage":"https://github.com/dzonatan/base-href-webpack-plugin#readme","_id":"base-href-webpack-plugin@1.0.1","_shasum":"803065d48ea6e70a1be48e69ed55bb1891de423b","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.2","_npmUser":{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"},"dist":{"shasum":"803065d48ea6e70a1be48e69ed55bb1891de423b","tarball":"https://registry.npmjs.org/base-href-webpack-plugin/-/base-href-webpack-plugin-1.0.1.tgz","integrity":"sha512-dGovM7NdwaLeBLPudW++sSQjGOPWZGeQr+sbzUlEjOGVZ0TewJHvXKIu7Ak2AcU7yOvz3l4kttpccmiSZ4EEmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdpO9o9GbnBU+b8TSCMJyBIBlW02dM6TdLOEe9GVyZgAiAqS1Aug8nG/RGxkEUxzFX4YQvnstupp8AUmkRFRrgM2w=="}]},"maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/base-href-webpack-plugin-1.0.1.tgz_1485963679928_0.16180876223370433"},"directories":{}},"1.0.2":{"name":"base-href-webpack-plugin","version":"1.0.2","description":"Webpack plugin for inserting base href tag in head block","main":"./build/index.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/dzonatan/base-href-webpack-plugin.git"},"scripts":{"build":"babel ./index.js --presets es2015 --source-maps --out-dir ./build","watch":"babel --watch ./index.js --presets es2015 --source-maps --out-dir ./build","prepublish":"npm run build","pretest":"npm run build","test":"jasmine ./index.spec.js"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.9.0","jasmine":"^2.5.3"},"gitHead":"90d79c83aa187d5e8badfb14363526c48eae4f0c","bugs":{"url":"https://github.com/dzonatan/base-href-webpack-plugin/issues"},"homepage":"https://github.com/dzonatan/base-href-webpack-plugin#readme","_id":"base-href-webpack-plugin@1.0.2","_shasum":"1ca2807627c1a43b7bb4fb320591f62b8b8411df","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.2","_npmUser":{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"},"dist":{"shasum":"1ca2807627c1a43b7bb4fb320591f62b8b8411df","tarball":"https://registry.npmjs.org/base-href-webpack-plugin/-/base-href-webpack-plugin-1.0.2.tgz","integrity":"sha512-F23meVZXSz6zzBjmv8blIPzlAB/0xnUcNEeyLw11JS2ja2ZN/d/U+ZsuXYdmibb/oAA7c6TGsrtcaetLboT5Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxaUE0l5oiTTWB66+LkEwEqjBlcBm4ELaBAvozGcxWbAiEA7a63kPlBQztPwVOuI/nGCW9FzZnFgO9zlKw3jVND1Qc="}]},"maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/base-href-webpack-plugin-1.0.2.tgz_1486021137061_0.7378577990457416"},"directories":{}},"2.0.0":{"name":"base-href-webpack-plugin","version":"2.0.0","description":"Webpack plugin for inserting base href tag in head block","main":"./build/index.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/dzonatan/base-href-webpack-plugin.git"},"scripts":{"build":"babel ./index.js --presets es2015 --source-maps --out-dir ./build","watch":"babel --watch ./index.js --presets es2015 --source-maps --out-dir ./build","prepare":"npm run build","pretest":"npm run build","test":"jasmine ./spec/plugin.spec.js"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","peerDependencies":{"html-webpack-plugin":"^3.0.0","webpack":"^4.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.9.0","html-loader":"^0.5.5","html-webpack-plugin":"^3.1.0","jasmine":"^2.5.3","rimraf":"^2.6.2","webpack":"^4.2.0"},"gitHead":"73b5edb8ff98ad14c20dca667107ba2df273b45d","bugs":{"url":"https://github.com/dzonatan/base-href-webpack-plugin/issues"},"homepage":"https://github.com/dzonatan/base-href-webpack-plugin#readme","_id":"base-href-webpack-plugin@2.0.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.1","_npmUser":{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"},"dist":{"integrity":"sha512-e/EJg7MZrKvc5MzaGN+kvGOvq0xOetGvvMYcplAkz2VQZcSQmo4IpRiuhcHpH0AQsxMyNYyNtOixQvuqr+2sFA==","shasum":"4ef8e916756437daed61d55e3aeddf6c5766a577","tarball":"https://registry.npmjs.org/base-href-webpack-plugin/-/base-href-webpack-plugin-2.0.0.tgz","fileCount":6,"unpackedSize":8334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpoyvejXrtUc2Js3uKIZNzYb20/R4jwIfK/UMHlL94PAIgf4thcppVH0tf5NAEopck/BPOPyTPD9e42ludlsz03D4="}]},"maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base-href-webpack-plugin_2.0.0_1522058533158_0.08271990674111818"},"_hasShrinkwrap":false},"3.0.0":{"name":"base-href-webpack-plugin","version":"3.0.0","description":"Webpack plugin for inserting base href tag in head block","main":"./build/index.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/dzonatan/base-href-webpack-plugin.git"},"scripts":{"build":"babel ./index.js --presets es2015 --source-maps --out-dir ./build","watch":"babel --watch ./index.js --presets es2015 --source-maps --out-dir ./build","prepublish":"npm run build","pretest":"npm run build","test":"jasmine ./spec/plugin.spec.js"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","peerDependencies":{"html-webpack-plugin":"^4.0.0","webpack":"^5.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.9.0","html-loader":"^0.5.5","html-webpack-plugin":"^4.5.2","jasmine":"^2.5.3","rimraf":"^2.6.2","webpack":"^5.23.0"},"gitHead":"bb3cf4a12b43886b2ea2e2b5a7aee5b8a88084f0","bugs":{"url":"https://github.com/dzonatan/base-href-webpack-plugin/issues"},"homepage":"https://github.com/dzonatan/base-href-webpack-plugin#readme","_id":"base-href-webpack-plugin@3.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-Ovy6NClN75VQkXBnGLUz1AKtmHmj520nPGlSLNhSjV/U6QmGbYxbDd172zUpxVF4YP1fF4Mm3Oj4Kv5ejcVWDg==","shasum":"33ffb77241b70cd8940b7a32985c8f9c8fe05271","tarball":"https://registry.npmjs.org/base-href-webpack-plugin/-/base-href-webpack-plugin-3.0.0.tgz","fileCount":8,"unpackedSize":8825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLqYcCRA9TVsSAnZWagAA6IwP/0wHWbj81yd45jqmpUGQ\nZ4IhEW1+er22RXFmDVRp8jq4SH+2CGcWUH9hOGSAp/qmYrnXzDfhjSOXJLvI\nxCS8HrnR2tgX69/e15+QScgPNiJxFBDGEwIl2ORhPR7vpVIsGYqI0f1zN4pb\nVknGYGn9fw5RnSa+kV9tmBrdUvYEeAP71hkkIvym/S8ssNqHGHCG/K5XNh/8\n45dyua/w6cHqJbPPOoPDl+bOcSbCPv+8IABz0DzHwVrpXju4USRuTVTckeVv\nSsrptbCiMxUoNThMeOQX83IeW1JRPNWuDPKS8mDTQnkmBgnObx1oYX4rMeQQ\n2tKL22CtnLzPo2FNh8snEjM6NB69crGIbQEaRkGWJCbr3sjEY1cfv7lPcsc7\nE/SAKS8caz/q8Z6NIacJNzrfuaBs9fF2rhVWvH83YBHxksHmGTUi4N39GjNt\nnf+pbkwnsvXgkMxPnrXMe9Le+amPE5JoZdce2U26ZqjSAPq1rtkg3r9h+Q79\nqAeOCmuGoUMZO796vh8m5OH90WqhuOHGt4Lx3pHJr/dWduzwbuCLQBKSAHEi\nN8xdQ1t+WUa2OdOot04bH64c0uOLaDyV4RS9YvhqyRiz7JZ34pK4aAeT5nL4\n1A4G/yURHNlNvHIBs1RNW7Ph8NCyoVGqnziclC573lzD6k1oU+bu/ZXB0b+C\n1p5V\r\n=S5Dd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEH1Fr46QDK2tNh9TsmKa1sT4l80LDjD0y25BKr1rx0aAiBmGcP/xR6Av+Xz0k4eyIh1VY88tTVek8sPGLlhQqYoug=="}]},"_npmUser":{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"},"directories":{},"maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base-href-webpack-plugin_3.0.0_1613669916556_0.7505198720188524"},"_hasShrinkwrap":false},"3.0.1":{"name":"base-href-webpack-plugin","version":"3.0.1","description":"Webpack plugin for inserting base href tag in head block","main":"./build/index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/dzonatan/base-href-webpack-plugin.git"},"scripts":{"build":"babel ./index.js --presets es2015 --source-maps --out-dir ./build","watch":"babel --watch ./index.js --presets es2015 --source-maps --out-dir ./build","prepublish":"npm run build","pretest":"npm run build","test":"jasmine ./spec/plugin.spec.js && npm run tsd","tsd":"tsd"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","peerDependencies":{"html-webpack-plugin":"^4.0.0","webpack":"^5.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-es2015":"^6.9.0","html-loader":"^0.5.5","html-webpack-plugin":"^4.5.2","jasmine":"^2.5.3","rimraf":"^2.6.2","tsd":"^0.14.0","webpack":"^5.23.0"},"gitHead":"4147766ec3f4cb35f6bca0acff21c7c420a4d56a","bugs":{"url":"https://github.com/dzonatan/base-href-webpack-plugin/issues"},"homepage":"https://github.com/dzonatan/base-href-webpack-plugin#readme","_id":"base-href-webpack-plugin@3.0.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-1Z3mFTiK5mqm24cdcRDdP0/dQFOsAapoO/fh/d6WJNjJYJPHJ9Alr9tmSEZgc1KhyWxvMl5zY/eIqXZdE9PFMA==","shasum":"9fb5d775835cc56fdadb2c1060f6200804977de8","tarball":"https://registry.npmjs.org/base-href-webpack-plugin/-/base-href-webpack-plugin-3.0.1.tgz","fileCount":8,"unpackedSize":8998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkpvPCRA9TVsSAnZWagAA4vcP/inQa76OmvgYAF6Ni7ew\nSZjx2EbQMKGhYeO/uKeZXT8Gbibr2/4McbyY6G4ncT1GfTJJZsazw063kPUc\nls+YV+wXwjYPYSyn67SYdsvnx6X0luk/Q83huI4Ow4MI9V7SxlMnWbvQ2jlF\nVL81B2RRxM8pMlYCgYtb1igALTqs8nA9c90wRt2qtf/Lh4d6WX6DZwmgPPXa\nt+zn1iK8IKbU/WGxKdJiqZafuk/+CqtovvhtrkK9dZ/hnOor4rCA6NplmHPM\nMUBzsdE8qwFdahT+wF4EVUAy+wLgUq/mzb72q9KLLWtDMp+nK17c+k9ig2Gp\n4vKtZOnpXCt32hgqCIqOYcaUksM4ZOPNF97dCLIetJv/r32EtxVKF9V2FL3O\nv/KuNvjOv4PynESX3TYe8kPHc1xJJq7HmnHMZ2h38/usqIqE75oRGtOL7Xf8\nW+Z9DF4WhVgT0jxLneS3Lp4PcrfQlt9maYCwJsD0/MhcCQ/wli+jM6dy/Hc/\nTZRpfOqvhWg5oIIZQqmsZnSmJZIcgZOvoj/GrlknjXWcsPl5s+WhPRPWy8gC\nQ8EzyEsPB7FmudrPjDbcYVwF5khmcpt5W61E7q+H9AlziHmJ1eX1bTljbDSK\nHXlDxMczsljoGgKysicVgEw+2C29ocqQscNk/FDQe8CBBRe44XB5obe1BGDY\nn+yt\r\n=zhyw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD45TvHafXdvNyQ3++KDU7wTtsFitGTdLgLlWkbociTEgIgQHoaUPKsFvK//Zt4AXW0DZuT/eC4sLxiRseeunhd63o="}]},"_npmUser":{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"},"directories":{},"maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base-href-webpack-plugin_3.0.1_1620220878993_0.14434622153660204"},"_hasShrinkwrap":false}},"readme":"# base-href-webpack-plugin (extension)\r\n\r\n[![npm version](https://badge.fury.io/js/base-href-webpack-plugin.svg)](https://badge.fury.io/js/base-href-webpack-plugin)\r\n\r\nExtension for [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin) to programmatically insert or update `<base href=\"\" />` tag.\r\n\r\n# Prerequisites\r\n\r\nThis plugin is an extension of [html-webpack-plugin](https://github.com/ampedandwired/html-webpack-plugin).  \r\nSo make sure you have installed `npm i --save-dev html-webpack-plugin`.\r\n\r\n# Installation\r\n\r\nFor webpack v5 use latest (^3.0.0):  \r\n`npm i --save-dev base-href-webpack-plugin`\r\n\r\nFor webpack v4 use ^2.0.0:  \r\n`npm i --save-dev base-href-webpack-plugin@2`\r\n\r\nFor webpack v3 use ^1.0.0:  \r\n`npm i --save-dev base-href-webpack-plugin@1`\r\n\r\n# Usage\r\n\r\n```javascript\r\nconst { BaseHrefWebpackPlugin } = require('base-href-webpack-plugin');\r\n\r\n// Add to plugins\r\nplugins: [\r\n  new HtmlWebpackPlugin(), // Required dependency\r\n  new BaseHrefWebpackPlugin({ baseHref: '/' })\r\n]\r\n```\r\n\r\nPlugin **leaves your template untouched** if `baseHref` option is not provided.\r\n\r\n# Contribution\r\n\r\nFeel free to contribute to this project by submitting issues and/or pull requests.\r\n\r\n# License\r\n\r\nMIT\r\n","maintainers":[{"name":"dzonatan","email":"rokas.brazdzionis@gmail.com"}],"time":{"modified":"2022-06-13T04:16:51.496Z","created":"2016-07-29T11:09:43.331Z","1.0.0":"2016-07-29T11:09:43.331Z","1.0.1":"2017-02-01T15:41:21.825Z","1.0.2":"2017-02-02T07:38:57.626Z","2.0.0":"2018-03-26T10:02:13.242Z","3.0.0":"2021-02-18T17:38:36.667Z","3.0.1":"2021-05-05T13:21:19.115Z"},"keywords":["base","href","webpack","plugin"],"author":{"name":"Rokas Brazdzionis","email":"rokas.brazdzionis@gmail.com"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/dzonatan/base-href-webpack-plugin#readme","repository":{"type":"git","url":"git+https://github.com/dzonatan/base-href-webpack-plugin.git"},"bugs":{"url":"https://github.com/dzonatan/base-href-webpack-plugin/issues"}}