Skip to content

Commit

Permalink
Remove output.path from dev webpack config (#3158)
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 authored and gaearon committed Oct 28, 2017
1 parent 5c8000f commit 70e0c08
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 @@ -61,8 +61,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 70e0c08

Please sign in to comment.