interpolate-html-plugin
interpolate-html-plugin copied to clipboard
Webpack plugin for interpolating custom variables into index.html
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
> This plugin is supposed to work with [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin/) If the package really needs html-webpack-plugin because it crashes if it's not installed I think it should be a dependency :thinking:
Do you have plans to support TypeScript ?
I am not able to access my variable provided in the plugin like this ``` new InterpolateHtmlPlugin({ MYVAR: 'myvariable', }), ``` Here I am accessing variable like this I want...
Hi, I updated webpack to v4, and now having this error: URIError: Failed to decode param '/%PUBLIC_URL%/favicon-32x32.png' In my index html I have: ``` ``` I've seen that now the...
const InterpolateHtmlPlugin = require('interpolate-html-plugin'); ``` new InterpolateHtmlPlugin({ 'NODE_ENV': 'development' }), ```
```js compilation.hooks.htmlWebpackPluginBeforeHtmlProcessing.tap( ``` ``` TypeError: Cannot read property 'tap' of undefined at compiler.hooks.compilation.tap.compilation (/Users/mxtnr/rocket/felix-front/node_modules/interpolate-html-plugin/index.js:35:63) ```
upgrade
https://github.com/facebookincubator/create-react-app/blob/fe7b5c212b5127775287ce444947f4c604c024dd/packages/react-dev-utils/InterpolateHtmlPlugin.js to the latest version? just style changes
Can I submit a PR to allow for an object of objects to be passed to the interpolate plugin? This would allow me to do ```javascript const config = {...