{"_id":"@c4605/interpolate-webpack-plugin","_rev":"10-9957ba3a416ae68fb062348d2c565e29","name":"@c4605/interpolate-webpack-plugin","dist-tags":{"latest":"1.0.3","beta":"2.0.1"},"versions":{"1.0.0":{"name":"@c4605/interpolate-webpack-plugin","version":"1.0.0","main":"lib/index.js","license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"tsc --build .","watch":"tsc --watch -p .","test":"jest ./src"},"devDependencies":{"@commitlint/config-conventional":"^8.1.0","@types/flat":"^0.0.28","@types/jest":"^24.0.17","@types/node":"^12.7.1","@types/poi":"^12.5.0","@types/webpack":"^4.32.1","@types/webpack-sources":"^0.1.5","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.13.0","commitlint":"^8.1.0","coveralls":"^3.0.6","eslint":"^6.1.0","eslint-config-prettier":"^6.0.0","git-hook-pure":"^1.2.2","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","poi":"^12.7.2","prettier":"^1.18.2","ts-jest":"^24.0.2","typescript":"^3.5.3","webpack":"^4.39.1"},"dependencies":{"@c4605/toolconfs":"^4.4.1","escape-string-regexp":"^2.0.0","execa":"^2.0.3","find-up":"^4.1.0","flat":"^4.1.0","isbinaryfile":"^4.0.2","webpack-sources":"^1.4.3"},"prettier":"@c4605/toolconfs/prettierrc","description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","_id":"@c4605/interpolate-webpack-plugin@1.0.0","dist":{"shasum":"4248f631ed8672b49bc075fed2823e579069b007","integrity":"sha512-saNJKmxlvjvVpasWu/mkxHh8fCWyL++wod+XUeFq6dyNE7fIsicnVpUu+NKBTgkTrMLI/VkNHLAoIRkXDV0reg==","tarball":"https://registry.npmjs.org/@c4605/interpolate-webpack-plugin/-/interpolate-webpack-plugin-1.0.0.tgz","fileCount":24,"unpackedSize":16691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVYx/CRA9TVsSAnZWagAAovIP/2Y6t/LKrOoQJee/OxhL\nuK8gpHJYr2dYhx4ducc0gPaGavngbBPh62/epjWZpYg4QSpElNYlEzIzurds\nJhKCzLurWv62TurkzQG5ZzNgvQhdZXW7UGkEIuGsrkIfeI0J38zUwqHEFHrJ\nA9X/SSZWunv3JDJCnkcNyka5S55PbJoi8x/EikPnQ8GLjL25Ms9wQ1Rf3z9d\nywOMNndDbfoFqWgfS1XoFJaiMnoSOKKaPPHyiXytT8m5GjJrPYlw0f0GTxUM\nf9Oc75czC7DEiaJJrWT7Y7Uk950OVwro+UteeR2G9GSl7FSSDIN5TBW5MaIj\nFrwAPE25YIgqC3c/ObsQ3gRjiKAUKSoKqr9EOybX3lqVwqvj+yRDZfhsdiWR\nfsjOoamuGo69Dvh+oOMenTf5Qeyy8NHy3JzpvQDXH1o9x1ny+HAC1WFjUZAC\nsDSlwF/ylgFTJoTegMDanU6yXlPV8zsp7KsFyMQSzof9e0LHrF0LWsESkbfg\nv1Sjtb1DZL6txbu4AlUnMhTWsgMA+8y56/Qp55YW2WaXXHz4Hd/SdhibdS/f\n92fOiV+tMav0xLUVLG/uQ2pCRygYRBus5aRNCFlu3eJAD3+CTUq1pJCVmvMk\nqY2ymK1AoLuEqI5iPC3JwS0GfplW4MkOxgyof6ZhddjiuZdtyWZCxq10k5g4\nNy9n\r\n=EHZx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBkyazcqMmUK3txzM8h+IskgefNq5lz8SCL1mweuvw3YAiAYNxhvbfZcyatJBwADM+/12V4ghza/Frq6773xo9lIAQ=="}]},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"_npmUser":{"name":"bolasblack","email":"bolasblack@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interpolate-webpack-plugin_1.0.0_1565887614860_0.7778019939237688"},"_hasShrinkwrap":false},"1.0.1":{"name":"@c4605/interpolate-webpack-plugin","version":"1.0.1","main":"lib/index.js","license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"tsc --build .","watch":"tsc --watch -p .","test":"jest ./src"},"devDependencies":{"@commitlint/config-conventional":"^8.1.0","@types/flat":"^0.0.28","@types/jest":"^24.0.17","@types/node":"^12.7.1","@types/poi":"^12.5.0","@types/webpack":"^4.32.1","@types/webpack-sources":"^0.1.5","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.13.0","commitlint":"^8.1.0","coveralls":"^3.0.6","eslint":"^6.1.0","eslint-config-prettier":"^6.0.0","git-hook-pure":"^1.2.2","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","poi":"^12.7.2","prettier":"^1.18.2","ts-jest":"^24.0.2","typescript":"^3.5.3","webpack":"^4.39.1"},"dependencies":{"@c4605/toolconfs":"^4.4.1","escape-string-regexp":"^2.0.0","execa":"^2.0.3","find-up":"^4.1.0","flat":"^4.1.0","isbinaryfile":"^4.0.2","webpack-sources":"^1.4.3"},"prettier":"@c4605/toolconfs/prettierrc","description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","_id":"@c4605/interpolate-webpack-plugin@1.0.1","dist":{"shasum":"2823b76307aa138d50784a7bbc77c8374072501d","integrity":"sha512-6tWSmZN2y0lzS20X4RcSUAVcazgIHZsHbe2ZS5fB5Odv+Di8fjzXJ51kVU0V9P3C0DS2unI37vhTqgIOdJTSzQ==","tarball":"https://registry.npmjs.org/@c4605/interpolate-webpack-plugin/-/interpolate-webpack-plugin-1.0.1.tgz","fileCount":24,"unpackedSize":16824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVY0yCRA9TVsSAnZWagAAx5MP/iGxu9bsiFvUG270qkjj\nS+tRZsmvGq2AtsGTt+SkxW2xPGjlLikqImA/6KqtkNpB8qAQoJ8RNKQ1hpL/\n+inCnE2XMnHlAEkKjApsxtL0H6DyAJvxcCF2rI6Ew3yMWkCB94+lY6Yx4Mrq\nbhgLRNegyDOF0UKXIkrxj8FqGCt+Vs1MPMIj1vglcR8KktqzN++8oIsTGViW\na4huieuOW/607D6FWC26PsrU7Nce5N3YEpnOAsU+XyFhYaADJKLkruuY8B7z\ncgnBefNqUVhfU78WOelcfv51mk2sRwj8iopIXAWa90EVycuFtMhGLuAA4LiI\n2vWn8lOO4/j66EetAy/6c3OnA2Q2KIDWiOFt7vAq4NKiTdrvyDrXGRDbfBtE\nxQ3LPh+c/SDfMaBjvZhJKrAxVTHo12OCxIx8a0DhOm3BEzhFfAshriYqWnlp\n9jewsquUrOHEPf9O5B13FOexSMYOzCg1uWlrsu8+tuKlcRLzpr1cYh0utAdu\nq6rRo+9vnHNXOW2D6bA2162cgackeQ+HGS61O9LGXraal1FbZpNi02Xr+9JT\nYjW5Qir7U2Kzq+kHxoD3gVH7jIiHdJ0obwOWjVCUqHZNlOsvhlHZDgJEUuP0\n1UIv3SkMokpCqfEZVP2sOp1Gbqrv1zUMZ9vtMkp6OKxwvEB+nRRteh22qEXa\nq48P\r\n=C47o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGW1h3g2xST0hkyPI5iCA6BC2EJaVoMUMwv/dUrlGPd1AiBO0+NtOMj7M+mWx4OZNrck7GT7V3D3j6nppY37kLifEw=="}]},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"_npmUser":{"name":"bolasblack","email":"bolasblack@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interpolate-webpack-plugin_1.0.1_1565887793946_0.17655088587585732"},"_hasShrinkwrap":false},"1.0.2":{"name":"@c4605/interpolate-webpack-plugin","version":"1.0.2","main":"lib/index.js","license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"tsc --build .","watch":"tsc --watch -p .","test":"jest ./src"},"devDependencies":{"@commitlint/config-conventional":"^8.1.0","@types/flat":"^0.0.28","@types/jest":"^24.0.17","@types/node":"^12.7.1","@types/poi":"^12.5.0","@types/webpack":"^4.32.1","@types/webpack-sources":"^0.1.5","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.13.0","commitlint":"^8.1.0","coveralls":"^3.0.6","eslint":"^6.1.0","eslint-config-prettier":"^6.0.0","git-hook-pure":"^1.2.2","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","poi":"^12.7.2","prettier":"^1.18.2","ts-jest":"^24.0.2","typescript":"^3.5.3","webpack":"^4.39.1"},"dependencies":{"@c4605/toolconfs":"^4.4.1","escape-string-regexp":"^2.0.0","execa":"^2.0.3","find-up":"^4.1.0","flat":"^4.1.0","isbinaryfile":"^4.0.2","webpack-sources":"^1.4.3"},"prettier":"@c4605/toolconfs/prettierrc","types":"./lib/index.d.ts","gitHead":"d40c455b80ced442ba8e22f7ff668fbb693eea62","description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","_id":"@c4605/interpolate-webpack-plugin@1.0.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-NLvsz2hGL4qjJ4FrND3NzhrmIMuGU7/jWdgVYFsoDnfj5NjwoaxB4NcghIMmEmwG7NaweBGDqN3JowsPskqXeg==","shasum":"343a556e88efd9f1786d2fe6c49ae53c64fb2884","tarball":"https://registry.npmjs.org/@c4605/interpolate-webpack-plugin/-/interpolate-webpack-plugin-1.0.2.tgz","fileCount":28,"unpackedSize":38762,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2+99yoOSj9a7DfKSOAG6UmQHr3u7FcdnzxJRiIIyKVAIhALrEjBMlcrBcjoqbp9NrbBs2Z5mqvub/rf9ibHEoRoBz"}]},"_npmUser":{"name":"bolasblack","email":"bolasblack@gmail.com"},"directories":{},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interpolate-webpack-plugin_1.0.2_1683795789840_0.2589814711188472"},"_hasShrinkwrap":false},"1.0.3":{"name":"@c4605/interpolate-webpack-plugin","version":"1.0.3","main":"lib/index.js","license":"MIT","scripts":{"prepublishOnly":"yarn build","build":"tsc --build .","watch":"tsc --watch -p .","test":"jest ./src"},"devDependencies":{"@commitlint/config-conventional":"^8.1.0","@types/flat":"^0.0.28","@types/jest":"^24.0.17","@types/node":"^12.7.1","@types/poi":"^12.5.0","@types/webpack":"^4.32.1","@types/webpack-sources":"^0.1.5","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.13.0","commitlint":"^8.1.0","coveralls":"^3.0.6","eslint":"^6.1.0","eslint-config-prettier":"^6.0.0","git-hook-pure":"^1.2.2","jest":"^24.8.0","jest-cli":"^24.8.0","lint-staged":"^9.2.1","poi":"^12.7.2","prettier":"^1.18.2","ts-jest":"^24.0.2","typescript":"^3.5.3","webpack":"^4.39.1"},"dependencies":{"@c4605/toolconfs":"^4.4.1","escape-string-regexp":"^2.0.0","execa":"^2.0.3","find-up":"^4.1.0","flat":"^4.1.0","isbinaryfile":"^4.0.2","webpack-sources":"^1.4.3"},"prettier":"@c4605/toolconfs/prettierrc","types":"./lib/index.d.ts","gitHead":"ebb215965fda951f85cafb682efc5bc307abd261","description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","_id":"@c4605/interpolate-webpack-plugin@1.0.3","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-HRlndxEO230ehRA5eDNfp9SCkS39BUg0PWSMlKDkg/sXUZTb8lTXkKrHgZ9SsFsakunUOYXxdcVu3j+bKuqiqA==","shasum":"e4c89cba5d2b893df6f00763df98bd313624862a","tarball":"https://registry.npmjs.org/@c4605/interpolate-webpack-plugin/-/interpolate-webpack-plugin-1.0.3.tgz","fileCount":32,"unpackedSize":40031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOkFbuzNtlyWv68xbBVpeCzUcX2seIQQWrk5EYRs/saAiB0k1iOW4U+IQdGJkvlg1jujdgXww5u8LyMH8i0SVUcsw=="}]},"_npmUser":{"name":"bolasblack","email":"bolasblack@gmail.com"},"directories":{},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interpolate-webpack-plugin_1.0.3_1683802879135_0.4082790497492135"},"_hasShrinkwrap":false},"2.0.0":{"name":"@c4605/interpolate-webpack-plugin","version":"2.0.0","main":"lib/index.js","engines":{"node":">=13.2.0"},"license":"MIT","devDependencies":{"@commitlint/config-conventional":"^17.6.3","@types/flat":"^5.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.3","@types/webpack-sources":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","commitlint":"^17.6.3","coveralls":"^3.1.1","css-loader":"^6.7.3","eslint":"^8.40.0","eslint-config-prettier":"^8.8.0","git-hook-pure":"^3.2.1","html-webpack-plugin":"^5.5.1","jest":"^29.5.0","jest-cli":"^29.5.0","lint-staged":"^13.2.2","prettier":"^2.8.8","ts-jest":"^29.1.0","typescript":"^5.0.4","webpack":"^5.82.1"},"dependencies":{"@c4605/toolconfs":"^5.2.2","execa":"^7.1.1","find-up":"^6.3.0","flat":"^5.0.2","isbinaryfile":"^5.0.0"},"prettier":"@c4605/toolconfs/prettierrc","scripts":{"build":"tsc --build .","watch":"tsc --watch -p .","test":"jest ./src"},"types":"./lib/index.d.ts","description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","_id":"@c4605/interpolate-webpack-plugin@2.0.0","_integrity":"sha512-TR8VvVQrAao27f/rsNnqn7kb06bxuJw7FkP5vEkkuB61DmDCHZokSlahU3VZlOgyiNIq6BDn4j4w00Yxw4YnCQ==","_resolved":"/private/var/folders/ts/mnlhr76j6sqgts56g_0g6x0r0000gn/T/bb275c872ea9ba780d8d114a6b45754c/c4605-interpolate-webpack-plugin-2.0.0.tgz","_from":"file:c4605-interpolate-webpack-plugin-2.0.0.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-TR8VvVQrAao27f/rsNnqn7kb06bxuJw7FkP5vEkkuB61DmDCHZokSlahU3VZlOgyiNIq6BDn4j4w00Yxw4YnCQ==","shasum":"8cbf41de5a4190a85d76e347ecee5c030a58977d","tarball":"https://registry.npmjs.org/@c4605/interpolate-webpack-plugin/-/interpolate-webpack-plugin-2.0.0.tgz","fileCount":50,"unpackedSize":47063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFoF0OS5VlDtF6iPS00+m0ttcrM7vMBaI+N6XpGVJz+dAiArAnfl7TRR1V5OFU3QNIyH8I3QblgVaW3lqcpifRcABw=="}]},"_npmUser":{"name":"bolasblack","email":"bolasblack@gmail.com"},"directories":{},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interpolate-webpack-plugin_2.0.0_1683900306585_0.8507353198960046"},"_hasShrinkwrap":false},"2.0.1":{"name":"@c4605/interpolate-webpack-plugin","version":"2.0.1","main":"lib/index.js","engines":{"node":">=13.2.0"},"license":"MIT","devDependencies":{"@commitlint/config-conventional":"^17.6.3","@types/flat":"^5.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.3","@types/webpack-sources":"^3.2.0","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","commitlint":"^17.6.3","coveralls":"^3.1.1","css-loader":"^6.7.3","eslint":"^8.40.0","eslint-config-prettier":"^8.8.0","git-hook-pure":"^3.2.1","html-webpack-plugin":"^5.5.1","jest":"^29.5.0","jest-cli":"^29.5.0","lint-staged":"^13.2.2","prettier":"^2.8.8","ts-jest":"^29.1.0","typescript":"^5.0.4","webpack":"^5.82.1"},"dependencies":{"@c4605/toolconfs":"^5.2.2","execa":"^7.1.1","find-up":"^6.3.0","flat":"^5.0.2","isbinaryfile":"^5.0.0"},"prettier":"@c4605/toolconfs/prettierrc","scripts":{"build":"tsc --build .","watch":"tsc --watch -p .","test":"jest ./src"},"types":"./lib/index.d.ts","description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","_id":"@c4605/interpolate-webpack-plugin@2.0.1","_integrity":"sha512-wS3T9yr5Ed5SKX6nuRGdpvPNRivfftwj1JrT2qKai9j4nb/Coy1canPYPHzeT95h/mCB5ENNC5aBpC/SYtmYNQ==","_resolved":"/private/var/folders/ts/mnlhr76j6sqgts56g_0g6x0r0000gn/T/75b473c045c137edd52485991e806d2e/c4605-interpolate-webpack-plugin-2.0.1.tgz","_from":"file:c4605-interpolate-webpack-plugin-2.0.1.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-wS3T9yr5Ed5SKX6nuRGdpvPNRivfftwj1JrT2qKai9j4nb/Coy1canPYPHzeT95h/mCB5ENNC5aBpC/SYtmYNQ==","shasum":"ebea3c4df5ae38f42cc2d9ea2eef3bf812ffc622","tarball":"https://registry.npmjs.org/@c4605/interpolate-webpack-plugin/-/interpolate-webpack-plugin-2.0.1.tgz","fileCount":42,"unpackedSize":43288,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/HcwnepACAwwGtvAzfZCml+dY2eXcNX/Iw8Opq0uVCAIgF4swaqhBxaK1Ot2c16aIblPTfL4qQbQH6LKIGYjtb74="}]},"_npmUser":{"name":"bolasblack","email":"bolasblack@gmail.com"},"directories":{},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interpolate-webpack-plugin_2.0.1_1684015728579_0.6614804827980498"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-15T16:46:54.681Z","1.0.0":"2019-08-15T16:46:55.018Z","modified":"2023-05-13T22:11:45.792Z","1.0.1":"2019-08-15T16:49:54.110Z","1.0.2":"2023-05-11T09:03:10.025Z","1.0.3":"2023-05-11T11:01:19.309Z","2.0.0":"2023-05-12T14:05:06.750Z","2.0.1":"2023-05-13T22:08:48.776Z"},"maintainers":[{"name":"bolasblack","email":"bolasblack@gmail.com"}],"description":"Inspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).","license":"MIT","readme":"# interpolate-webpack-plugin [![Build Status](https://travis-ci.com/bolasblack/interpolate-webpack-plugin.svg?branch=master)](https://travis-ci.com/bolasblack/interpolate-webpack-plugin) [![Coverage Status](https://coveralls.io/repos/github/bolasblack/interpolate-webpack-plugin/badge.svg?branch=master)](https://coveralls.io/github/bolasblack/interpolate-webpack-plugin?branch=master)\n\nInspired by [react-dev-utils/InterpolateHtmlPlugin](https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/InterpolateHtmlPlugin.js).\n\nThis Webpack plugin designed to lets us interpolate custom predefined variables into assets.\n\n## Builtin variables\n\n- `%GIT_DESCRIBE%`: result of `git describe --tags`\n- `%GIT_REV%`: result of `git rev-parse --short HEAD`\n- `%GIT_VERSION%`: `%GIT_DESCRIBE%` or `%GIT_REV%`\n- `%packageJson.[data.path.in.package.json]%`: any data in `package.json`\n\n## Install\n\n```bash\nyarn add @c4605/interpolate-webpack-plugin -D\n# or\nnpm install @c4605/interpolate-webpack-plugin --save-dev\n```\n\n## Usage\n\n```js\nimport { InterpolateWebpackPlugin, DefaultReplacer } from 'interpolate-webpack-plugin'\n\nexport default {\n  // ... webpack configs\n  plugins: [\n    // Use with default replacer\n    new InterpolateWebpackPlugin(\n      new DefaultReplacer({ options }),\n    ),\n\n    // Or use custom replacer\n    new InterpolateWebpackPlugin({ replacer: (filename, source) =>\n      new PrefixSource(\n        prefix: '/* prefix */',\n        source,\n      )\n    }),\n  ],\n}\n```\n\nOptions structure can find in `src/index.ts#InterpolateWebpackPluginOptions`.\n\nThe default replacer will not modify binary files (checked by [isBinaryFile](https://github.com/gjtorikian/isBinaryFile)) and sourcemap files.\n\nIf you want to use the builtin variables, you can to this:\n\n```js\nmodule.exports = async () => {\n  // ... webpack configs\n  plugins: [\n    new webpack.DefinePlugin({\n      ...(await new DefaultReplacer({ options }).getDefinePluginOptions()),\n      // ... other defines\n    }),\n  ],\n}\n```\n\n## Development\n\n```bash\nyarn build # build code\nyarn watch # build and watch code\nyarn test # run tests\n```\n","readmeFilename":"README.md"}