Skip to content

Commit 70e0c08

Browse files
nikolasgaearon
authored andcommitted
Remove output.path from dev webpack config (#3158)
According to this parameter's comment, it's unused but webpack-dev-server crashes without it. However, webpack-dev-server is running fine for me without this parameter.
1 parent 5c8000f commit 70e0c08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: packages/react-scripts/config/webpack.config.dev.js

-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ module.exports = {
6161
// changing JS code would still trigger a refresh.
6262
],
6363
output: {
64-
// Next line is not used in dev but WebpackDevServer crashes without it:
65-
path: paths.appBuild,
6664
// Add /* filename */ comments to generated require()s in the output.
6765
pathinfo: true,
6866
// This does not produce a real file. It's just the virtual path that is

0 commit comments

Comments
 (0)