{"_id":"rollup-plugin-replace","_rev":"17-50a91737e0b415942b28e4b6542021b6","name":"rollup-plugin-replace","description":"[![](https://img.shields.io/npm/v/rollup-plugin-replace.svg?style=flat)](https://www.npmjs.com/package/rollup-plugin-replace)","dist-tags":{"latest":"2.2.0"},"versions":{"1.0.0":{"name":"rollup-plugin-replace","version":"1.0.0","devDependencies":{"eslint":"^1.7.3","gobble":"^0.10.2","gobble-cli":"^0.6.0","gobble-rollup":"^0.11.0","mocha":"^2.3.3","rollup":"^0.20.0","rollup-plugin-babel":"^1.0.0"},"main":"dist/rollup-plugin-replace.cjs.js","jsnext:main":"dist/rollup-plugin-replace.es6.js","dependencies":{"magic-string":"^0.8.0","minimatch":"^3.0.0","rollup-pluginutils":"^1.1.0"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm test"},"files":["index.js","README.md"],"gitHead":"d2b287b61a38874b41b974971e93d309dbe38045","description":"**Experimental - depends on unreleased version of Rollup**","_id":"rollup-plugin-replace@1.0.0","_shasum":"4a7cca66e296a1ddc700e3148b0c4f301c4c04bb","_from":".","_npmVersion":"2.5.1","_nodeVersion":"4.1.2","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":"richard.a.harris@gmail.com"}],"dist":{"shasum":"4a7cca66e296a1ddc700e3148b0c4f301c4c04bb","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-1.0.0.tgz","integrity":"sha512-RhYAGHLQyy6wcMccRpb5G5eB0e8Vimf6M4l7hCuGp4CHXXr/62+BMSY/gfk04w75m2VRTbxHjsRskC/MIwUOhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDxFJUBHqjwCEYpGO85AemDdup7gR2HYNR7yVuWB01JAIhALke8xixCdd5lmxSPUKjNAgnqDdHzRCLKXdJQKG6r3aF"}]},"directories":{},"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"1.0.1":{"name":"rollup-plugin-replace","version":"1.0.1","devDependencies":{"eslint":"^1.7.3","gobble":"^0.10.2","gobble-cli":"^0.6.0","gobble-rollup":"^0.11.0","mocha":"^2.3.3","rollup":"^0.20.0","rollup-plugin-babel":"^1.0.0"},"main":"dist/rollup-plugin-replace.cjs.js","jsnext:main":"dist/rollup-plugin-replace.es6.js","dependencies":{"magic-string":"^0.8.0","minimatch":"^3.0.0","rollup-pluginutils":"^1.1.0"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm test"},"files":["src","dist","README.md"],"gitHead":"7e257c4d02fd60f609ade8c8bf4d1425c2512d30","description":"Replace strings in files while bundling them.","_id":"rollup-plugin-replace@1.0.1","_shasum":"21c3e36ea3c2e116a4a9e417859314f81012c44f","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"21c3e36ea3c2e116a4a9e417859314f81012c44f","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-1.0.1.tgz","integrity":"sha512-yk21maUgQ9i6Lt3xFWOxtOYIdcSOFgDxD2HoztGJlT6DPbz/0WvkRPj8GEj4NZ9AM/+q75v+nFLJiU8dbe8LEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiDglpvXTXHbVPkIpc7dmR/4NHevc1vO2CBcnXoV7QCAIgQ13JlbTj0zWZLxR75ysGSDIGkOyDe7VR2/0moWG6O9Q="}]},"maintainers":[{"name":"rich_harris","email":"richard.a.harris@gmail.com"}],"directories":{},"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"1.1.0":{"name":"rollup-plugin-replace","version":"1.1.0","devDependencies":{"eslint":"^1.7.3","mocha":"^2.3.3","rollup":"^0.21.0","rollup-plugin-babel":"^1.0.0"},"main":"dist/rollup-plugin-replace.cjs.js","jsnext:main":"dist/rollup-plugin-replace.es6.js","dependencies":{"magic-string":"^0.8.0","minimatch":"^3.0.0","rollup-pluginutils":"^1.1.0"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-replace.cjs.js && rollup -c -f es6 -o dist/rollup-plugin-replace.es6.js","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"gitHead":"05370664e8fec3b4d06f7f96f2388d388d9a5c9f","description":"Replace strings in files while bundling them.","_id":"rollup-plugin-replace@1.1.0","_shasum":"79f6582842f79d02d95d5550dff64c9529e5387c","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"79f6582842f79d02d95d5550dff64c9529e5387c","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-1.1.0.tgz","integrity":"sha512-2Xn6Hn3NBbWEOhfQyOismhoqGMnIh+nEYCVHNqndIFm9bl4zRTwu+ZCTqkkf1uOocDrUbrY/VvC45PrblidpoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwkpKCJDl7B4U2CMEGtb4p3DeKw4FTm9bParc6/KCAugIhAJLf7Bk87nQCNuM7k4Wcw1hsQGXXG6vX5Si58WaVutga"}]},"maintainers":[{"name":"rich_harris","email":"richard.a.harris@gmail.com"}],"directories":{},"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"1.1.1":{"name":"rollup-plugin-replace","version":"1.1.1","devDependencies":{"eslint":"^2.13.1","mocha":"^2.5.3","rollup":"^0.32.4","rollup-plugin-buble":"^0.12.1"},"main":"dist/rollup-plugin-replace.cjs.js","jsnext:main":"dist/rollup-plugin-replace.es.js","dependencies":{"magic-string":"^0.15.2","minimatch":"^3.0.2","rollup-pluginutils":"^1.5.0"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c -f cjs -o dist/rollup-plugin-replace.cjs.js && rollup -c -f es -o dist/rollup-plugin-replace.es.js","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"keywords":["rollup","rollup-plugin","es2015","npm","modules"],"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"homepage":"https://github.com/rollup/rollup-plugin-replace#readme","gitHead":"fba7102673864469df27b9a36472d0d9bd139ec6","description":"Replace strings in files while bundling them.","_id":"rollup-plugin-replace@1.1.1","_shasum":"396315ded050a6ce43b9518a886a3f60efb1ea33","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"396315ded050a6ce43b9518a886a3f60efb1ea33","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-1.1.1.tgz","integrity":"sha512-oLkZsGBAZxuC3bJP9AsWCuyYSmu3uT9Ogl9zyAOUoAeqRpky8qLZt6oyhethhX8/+YoGfGqysPdMNkBbT41sOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoja2FtsAePwMIz4DmQYXOZWFoOq8nn/WfDlUbK6DzCQIhAP273qFooLIeiymI+2Dc8D/yMhy6wBkoA8JkHoLMDPVO"}]},"maintainers":[{"name":"rich_harris","email":"richard.a.harris@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-replace-1.1.1.tgz_1466713125127_0.7348324859049171"},"directories":{},"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"1.2.1":{"name":"rollup-plugin-replace","version":"1.2.1","devDependencies":{"eslint":"^4.6.1","mocha":"^3.5.0","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0"},"main":"dist/rollup-plugin-replace.cjs.js","module":"dist/rollup-plugin-replace.es.js","dependencies":{"magic-string":"^0.22.4","minimatch":"^3.0.2","rollup-pluginutils":"^2.0.1"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"keywords":["rollup","rollup-plugin","es2015","npm","modules"],"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"homepage":"https://github.com/rollup/rollup-plugin-replace#readme","gitHead":"9d630732d108b501201efd9813c4e27d04acc252","description":"Replace strings in files while bundling them.","_id":"rollup-plugin-replace@1.2.1","_npmVersion":"5.4.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"integrity":"sha512-l9Pgb7bh5Wx18+qM9iOWZ/CKcwyKJETLAwCh6bjKwTOgTzNH3KmKDWI/X/ToNA7fA/68chhFyvISvreRxWFVtw==","shasum":"6307ee15f223aa1fd3207cd3c08052468f180daf","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-1.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEIZJG9xj2BGPtBlMjt7PbEag1s6IAM0c8GZFkVqMEZEAiEAiWqcH804/q5m42HTQ5BiXI9CVMNS9s/LplAr7webNos="}]},"maintainers":[{"name":"rich_harris","email":"richard.a.harris@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-replace-1.2.1.tgz_1504582094645_0.2983707617968321"},"directories":{},"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"2.0.0":{"name":"rollup-plugin-replace","version":"2.0.0","devDependencies":{"eslint":"^4.6.1","mocha":"^3.5.0","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0"},"main":"dist/rollup-plugin-replace.cjs.js","module":"dist/rollup-plugin-replace.es.js","dependencies":{"magic-string":"^0.22.4","minimatch":"^3.0.2","rollup-pluginutils":"^2.0.1"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*","prepublish":"npm test"},"files":["src","dist","README.md"],"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"keywords":["rollup","rollup-plugin","es2015","npm","modules"],"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"homepage":"https://github.com/rollup/rollup-plugin-replace#readme","gitHead":"a0a7473bd28c98f6e6876d723c6d79692b20b279","description":"Replace strings in files while bundling them.","_id":"rollup-plugin-replace@2.0.0","_npmVersion":"5.4.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"integrity":"sha512-pK9mTd/FNrhtBxcTBXoh0YOwRIShV0gGhv9qvUtNcXHxIMRZMXqfiZKVBmCRGp8/2DJRy62z2JUE7/5tP6WxOQ==","shasum":"19074089c8ed57184b8cc64e967a03d095119277","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk/BTRTwcqdZZOevpUNeLbdUOQHUUrqkBz7qlsP87ggAIhAP4sG16iFjXqQuyetgQ07S4K8Q35WfMHIO1N2FdtJGLA"}]},"maintainers":[{"name":"rich_harris","email":"richard.a.harris@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-replace-2.0.0.tgz_1504613281182_0.921287098666653"},"directories":{},"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"2.1.0":{"name":"rollup-plugin-replace","version":"2.1.0","devDependencies":{"eslint":"^5.6.1","eslint-plugin-import":"^2.14.0","husky":"^1.1.1","lint-staged":"^7.3.0","locate-character":"^2.0.5","mocha":"^5.2.0","prettier":"^1.14.3","rollup":"^0.66.4","rollup-plugin-buble":"^0.19.2","shx":"^0.3.2","source-map":"^0.7.3"},"main":"dist/rollup-plugin-replace.cjs.js","module":"dist/rollup-plugin-replace.es.js","dependencies":{"magic-string":"^0.25.1","minimatch":"^3.0.2","rollup-pluginutils":"^2.0.1"},"scripts":{"test":"npm run test:only","test:only":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"shx rm -rf dist/*","lint":"prettier --write src/**/*.js test/test.js test/**/_config.js && eslint --fix src/**/*.js test/test.js test/**/_config.js","prepublishOnly":"npm run lint && npm run test:only","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"keywords":["rollup","rollup-plugin","es2015","npm","modules"],"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"homepage":"https://github.com/rollup/rollup-plugin-replace#readme","gitHead":"4fdc0cce55d1a8fa8aefc391976a314c6071d4b0","description":"Replace strings in files while bundling them.","_id":"rollup-plugin-replace@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.7.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"integrity":"sha512-SxrAIgpH/B5/W4SeULgreOemxcpEgKs2gcD42zXw50bhqGWmcnlXneVInQpAqzA/cIly4bJrOpeelmB9p4YXSQ==","shasum":"f9c07a4a89a2f8be912ee54b3f0f68d91e9ed0ae","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.1.0.tgz","fileCount":6,"unpackedSize":10798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbub1OCRA9TVsSAnZWagAAO2QP/Rh97nWvaIO7WYYdMesP\nft5gnx8I3YinUniDTbODTsne3XDhELN+A+Bo7GXAxEUyZFez/P9B2CUXRyh0\n6XMc0HKWHVaQB4wFBJBV+AFVQS01bqqdBfGWLgUGchqIULllR0eaIYcmu8Ba\ne+mqsmmmKEeAvGmDV8WBdEdMWuM8GphPHKKVNPjmrdQltbYQD+labm0AhBtJ\n39oTtGDHTSGXcn62r3zPEEqoW+ObD9y+IpGrYIy8Hpafv3OnreVp5+puMxex\nSLpegCVggvV04u7KOCuqO8YuectVM7EWAgMVmhnQahWDoC2zDXvODY8/x4Ur\nNCKd6x8M6BOlfsA1Ozta/r19nAjnxb/H9q0PIzUB5KpxdQ71avcOuSsyy4Im\n2nMwt070XwlY+ZiMUo+St2kstRK4FwEzscNmbqyQK/+xSGbRjf8QZ8/ac12/\n7E93kQwU9LWu/OxlXm9bHheJT0QDRXt93hzFDYo6aHKo2E7b0xvmZnDCA5A6\nMmZEQ2GBO7C12JAI+7qsXWRUv3QLeLVEF+I3o0EOnyM0l7l9mdzMNvoyzAZQ\naSNo7mph31SQOmQ2is2HkJmtUxDrJ19BrvrIqCFany51kol5nOboVQXxMQA6\nwi1Lw45VCpeZZc0k7TQW+OQKNByxnhYih+bhCjfPzFSV+i6yzVMucSuFxnCS\nNx45\r\n=bAKH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2GdbCnsQMwFzoYmjWB0r02VnYjBAkDash8Vz4sd3wjQIgbxsp4u+KecQNG7kx5cX3rr8LMNS25F4zDjjnuBAV/lQ="}]},"maintainers":[{"email":"lukas.taegert@tngtech.com","name":"lukastaegert"},{"email":"richard.a.harris@gmail.com","name":"rich_harris"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-replace_2.1.0_1538899277808_0.4838568261088645"},"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"2.1.1":{"name":"rollup-plugin-replace","version":"2.1.1","devDependencies":{"eslint":"^5.15.3","eslint-plugin-import":"^2.16.0","husky":"^1.3.1","lint-staged":"^8.1.5","locate-character":"^2.0.5","mocha":"^6.0.2","prettier":"^1.16.4","rollup":"^1.6.0","rollup-plugin-buble":"^0.19.6","shx":"^0.3.2","source-map":"^0.7.3"},"main":"dist/rollup-plugin-replace.cjs.js","module":"dist/rollup-plugin-replace.es.js","dependencies":{"magic-string":"^0.25.2","rollup-pluginutils":"^2.4.1"},"scripts":{"test":"npm run test:only","test:only":"mocha","pretest":"npm run build","build":"rollup -c","prebuild":"shx rm -rf dist/*","lint":"prettier --write src/**/*.js test/test.js test/**/_config.js && eslint --fix src/**/*.js test/test.js test/**/_config.js","prepublishOnly":"npm run lint && npm run test:only","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"keywords":["rollup","rollup-plugin","es2015","npm","modules"],"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"homepage":"https://github.com/rollup/rollup-plugin-replace#readme","gitHead":"1d188528760940771e6b2f201725645fa113db8a","description":"[![](https://img.shields.io/npm/v/rollup-plugin-replace.svg?style=flat)](https://www.npmjs.com/package/rollup-plugin-replace)","_id":"rollup-plugin-replace@2.1.1","_nodeVersion":"10.7.0","_npmVersion":"6.8.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"integrity":"sha512-IS5ZYBb3px0UfbDCYzKaKxelLd5dbPHhfplEXbymfvGlz9Ok44At4AjTOWe2qEax73bE8+pnMZN9C7PcVpFNlw==","shasum":"e49cb8d07d6f91a7bf28b90b66692f2c8c0b9bba","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.1.1.tgz","fileCount":6,"unpackedSize":11098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj81wCRA9TVsSAnZWagAAmO0P/jTxEbaSLS/Knrh0F/Tz\nm9Te59z0l002TsGVy2F+q9fhWkpT+pjaekUVZXVTr+fOJf5NTHJXKzeREihp\nmuVjL7WHmYI6FdsnmBU/mKNH0aEUuJa/A0Y3Hm0CWTewQmnP2URh9CidF7hn\nErIW50E+3p7dokAgv9cWitN2V1WDGUkFJLe8AuqmmzBSka+QRaZEV0KBTniN\nctDlSvIdltdhT+Xd4zD72k+tVhpEcLgwRItyKoG474eE4/WEM0Dq0kebekwl\nDcJOkiNZMFJXVtvw4haUbXsurSgKPR3akZ2K1z7AEam9JyJsls8RfvWcOuBJ\nkd0NM5Y5ud/Gc6mtgc9lj9NzUcLL/mv988Qia6kgQnLZH36fGH3yFZaWTXRy\nTfO6cFA9yEvokSn5BPRkprodM5iJlIemMeguBIZGvwq0TGLg3YY61+WM9lt/\nxr0SnJiwzaKWUU6arPqdBQA1uRtF6SLg14VJuuUltBxffnfWF33vvtdB7fgF\ncEmPEznGQBXWVupaPtxjmt3xRWtTDip1Lnhy4eqaA4NwSUu1V2HoQGuzsPQk\n95vAuM6g7wek3heTO7TyZwZWWV/jLtJYUuCGJCfpD7YWyN7ZOuLXGeY6zNOE\nWJdmpc8Bl+9CchF2QObnerEaPi0Xls2WtgCJzm4nf+nsizTigGFZGa99B0Ph\nYChr\r\n=6ssw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6CYx0+2H8gmlpwHfMsW7dcTF0lFlvGyAT+7+GISkmDwIhAM23qOAaky1OxBbwCt/Ta1r5bhJSlXVR8I6Kn4prRefG"}]},"maintainers":[{"email":"lukas.taegert@tngtech.com","name":"lukastaegert"},{"email":"richard.a.harris@gmail.com","name":"rich_harris"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-replace_2.1.1_1552928111448_0.006554431315824338"},"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."},"2.2.0":{"name":"rollup-plugin-replace","version":"2.2.0","devDependencies":{"eslint":"^5.16.0","eslint-plugin-import":"^2.16.0","husky":"^1.3.1","lint-staged":"^8.1.5","locate-character":"^2.0.5","mocha":"^6.1.2","prettier":"^1.16.4","rollup":"^1.9.1","rollup-plugin-buble":"^0.19.6","shx":"^0.3.2","source-map":"^0.7.3","typescript":"^3.4.3"},"main":"dist/rollup-plugin-replace.cjs.js","module":"dist/rollup-plugin-replace.es.js","dependencies":{"magic-string":"^0.25.2","rollup-pluginutils":"^2.6.0"},"scripts":{"test":"npm run test:only","test:only":"mocha && tsc","pretest":"npm run build","build":"rollup -c","prebuild":"shx rm -rf dist/*","lint":"prettier --write src/**/*.js test/test.js test/**/_config.js && eslint --fix src/**/*.js test/test.js test/**/_config.js","prepublishOnly":"npm run lint && npm run test:only","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"keywords":["rollup","rollup-plugin","es2015","npm","modules"],"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"homepage":"https://github.com/rollup/rollup-plugin-replace#readme","gitHead":"3f01b488cc68e6be1b1171446362db0a90dbdcb9","description":"[![](https://img.shields.io/npm/v/rollup-plugin-replace.svg?style=flat)](https://www.npmjs.com/package/rollup-plugin-replace)","_id":"rollup-plugin-replace@2.2.0","_nodeVersion":"10.7.0","_npmVersion":"6.9.0","_npmUser":{"name":"lukastaegert","email":"lukas.taegert@tngtech.com"},"dist":{"integrity":"sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA==","shasum":"f41ae5372e11e7a217cde349c8b5d5fd115e70e3","tarball":"https://registry.npmjs.org/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz","fileCount":7,"unpackedSize":12390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrXUtCRA9TVsSAnZWagAA/68P/2BGfaSiZyXQlEoHTqLF\nT0VBo0I0jUT9Tj19T0LBLRTDFjpUd9U2yij6ZirkXEqolSGDEk+ukqaW3EPt\nuStcr9NIJGhKeM9jVAvzxIu/4GC77cZxBJC6VnHWUX3ha5rReBc3BcgvK1Wa\noiiYZJn4Hp89gK+gdfMoClcFGp1j4A8e1/1Ww05QECmpb5sA9JW5xdFO10NM\n/MAky7U7W89/0aHkaWNpEb2TUHSr13hmKx4AfzeRe8ZtUZqecknL3xKuW+vD\nOUbCjhnzK+N40/F99f5Cu0OcblOJpsBgCebCUIDXW3825nfaGNCWzov4JDC2\nIxi5nqGvO4lXvY/Rkgh9tmxnaeHA+fMISRtFulKccf1vmJ+ilYU2mmlE78AW\nGIV6Yj3H2C8rAIaPV/lQ+mhBG8g+XxCkC52yHGR1k9qCjXc0oYmKlSfOUc1l\nTKjuB+zf4XioHneHhh4xPiG8AUKVmBwkP96DAAIQiz5EfWSZgBaHtiwXROQV\nwrr/jAoyNN7Z7xjzy2HoW6gBzc/ddVCcR6bT4830MFDtBcF+Jt8Ty9mfDodQ\nJJFebp4dH3JKMEl0N7ldsihJzqDQ4lnS102JY2U8Ch0SBxbVwm6foBu8DK9x\nuCMsW5dwUATUK1BPI7sQc71abp2pT77XIXIhHBiS1fvZE+bUDFhyh+COIPi9\nJ5A6\r\n=zZsl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUpbJxqTkFIviRNvo7ezZyGXEGxO8no/MDSOZKzPQgZAiEAhAMX1dC6vPnzbllcToFom2N4kPT/2Y0KsxIe9AlSN/k="}]},"maintainers":[{"email":"lukas.taegert@tngtech.com","name":"lukastaegert"},{"email":"richard.a.harris@gmail.com","name":"rich_harris"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-replace_2.2.0_1554871596839_0.9895193170505383"},"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained."}},"readme":"# rollup-plugin-replace\n[![](https://img.shields.io/npm/v/rollup-plugin-replace.svg?style=flat)](https://www.npmjs.com/package/rollup-plugin-replace)\n\nReplace strings in files while bundling them.\n\n\n## Installation\n\n```bash\nnpm install --save-dev rollup-plugin-replace\n```\n\n\n## Usage\n\nGenerally, you need to ensure that rollup-plugin-replace goes *before* other things (like rollup-plugin-commonjs) in your `plugins` array, so that those plugins can apply any optimisations such as dead code removal.\n\n\n```js\n// rollup.config.js\nimport replace from 'rollup-plugin-replace';\n\nexport default {\n  // ...\n  plugins: [\n    replace({\n      ENVIRONMENT: JSON.stringify('production')\n    })\n  ]\n};\n```\n\n\n## Options\n\n```js\n{\n  // a minimatch pattern, or array of patterns, of files that\n  // should be processed by this plugin (if omitted, all files\n  // are included by default)...\n  include: 'config.js',\n\n  // ...and those that shouldn't, if `include` is otherwise\n  // too permissive\n  exclude: 'node_modules/**',\n\n  // To replace every occurrence of `<@foo@>` instead of every\n  // occurrence of `foo`, supply delimiters\n  delimiters: ['<@', '@>'],\n\n  // All other options are treated as `string: replacement`\n  // replacers...\n  VERSION: '1.0.0',\n  ENVIRONMENT: JSON.stringify('development'),\n\n  // or `string: (id) => replacement` functions...\n  __dirname: (id) => `'${path.dirname(id)}'`,\n\n  // ...unless you want to be careful about separating\n  // values from other options, in which case you can:\n  values: {\n    VERSION: '1.0.0',\n    ENVIRONMENT: JSON.stringify('development')\n  }\n}\n```\n\n\n## Word boundaries\n\nBy default, values will only match if they are surrounded by *word boundaries* — i.e. with options like this...\n\n```js\n{\n  changed: 'replaced'\n}\n```\n\n...and code like this...\n\n```js\nconsole.log('changed');\nconsole.log('unchanged');\n```\n\n...the result will be this:\n\n```js\nconsole.log('replaced');\nconsole.log('unchanged');\n```\n\nIf that's not what you want, specify empty strings as delimiters:\n\n```js\n{\n  changed: 'replaced',\n  delimiters: ['', '']\n}\n```\n\n\n\n## License\n\nMIT\n","maintainers":[{"email":"lukas.taegert@tngtech.com","name":"lukastaegert"},{"email":"richard.a.harris@gmail.com","name":"rich_harris"},{"email":"andrew@shellscape.org","name":"shellscape"}],"time":{"modified":"2022-06-26T14:01:26.224Z","created":"2015-10-25T23:18:29.216Z","1.0.0":"2015-10-25T23:18:29.216Z","1.0.1":"2015-10-26T18:41:44.519Z","1.1.0":"2015-11-15T00:58:35.697Z","1.1.1":"2016-06-23T20:18:47.689Z","1.2.1":"2017-09-05T03:28:15.556Z","2.0.0":"2017-09-05T12:08:02.062Z","2.1.0":"2018-10-07T08:01:18.008Z","2.1.1":"2019-03-18T16:55:11.645Z","2.2.0":"2019-04-10T04:46:37.018Z"},"readmeFilename":"README.md","homepage":"https://github.com/rollup/rollup-plugin-replace#readme","keywords":["rollup","rollup-plugin","es2015","npm","modules"],"repository":{"type":"git","url":"git+https://github.com/rollup/rollup-plugin-replace.git"},"author":{"name":"Rich Harris","email":"richard.a.harris@gmail.com"},"bugs":{"url":"https://github.com/rollup/rollup-plugin-replace/issues"},"license":"MIT","users":{"tedyhy":true,"yeming":true}}