We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445048b commit ca8e0c5Copy full SHA for ca8e0c5
packages/react-scripts/config/webpack.config.dev.js
@@ -185,9 +185,7 @@ module.exports = {
185
// Makes the public URL available as %PUBLIC_URL% in index.html, e.g.:
186
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
187
// In development, this will be an empty string.
188
- new InterpolateHtmlPlugin({
189
- PUBLIC_URL: publicUrl
190
- }),
+ new InterpolateHtmlPlugin(env['process.env']),
191
// Generates an `index.html` file with the <script> injected.
192
new HtmlWebpackPlugin({
193
inject: true,
0 commit comments