Skip to content

Commit ca8e0c5

Browse files
author
Thien Do
authored
Update webpack.config.dev.js
1 parent 445048b commit ca8e0c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/react-scripts/config/webpack.config.dev.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ module.exports = {
185185
// Makes the public URL available as %PUBLIC_URL% in index.html, e.g.:
186186
// <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
187187
// In development, this will be an empty string.
188-
new InterpolateHtmlPlugin({
189-
PUBLIC_URL: publicUrl
190-
}),
188+
new InterpolateHtmlPlugin(env['process.env']),
191189
// Generates an `index.html` file with the <script> injected.
192190
new HtmlWebpackPlugin({
193191
inject: true,

0 commit comments

Comments
 (0)