Skip to content

Commit 612b171

Browse files
author
Nik Nyby
authored
Remove output.path from dev webpack config
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 2cff8db commit 612b171

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

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

0 commit comments

Comments
 (0)