Skip to content

Commit

Permalink
Remove output.path from dev webpack config
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Nik Nyby committed Sep 19, 2017
1 parent 2cff8db commit 612b171
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ module.exports = {
// changing JS code would still trigger a refresh.
],
output: {
// Next line is not used in dev but WebpackDevServer crashes without it:
path: paths.appBuild,
// Add /* filename */ comments to generated require()s in the output.
pathinfo: true,
// This does not produce a real file. It's just the virtual path that is
Expand Down

0 comments on commit 612b171

Please sign in to comment.