Created by: gautier-lefebvre
This PR intends to allow users to override the default %VAR% template in index.html. In production, my company uses a nginx which changes variables in the $VAR format at runtime (using Docker, when starting the container), so I find it easier to keep my variables in the same format for webpack in development mode via webpack-dev-server.
Testing
- Forked the repo at https://github.com/lfbvr/create-react-app.
- Run
npm linkin that repo. - Run
npm link react-dev-utilsin my project folder. - Run webpack with this config:
Setting the InterpolateHtmlPlugin without options works as before.


