Skip to content

Commit

Permalink
Remove output.path from dev webpack config (facebook#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
nikolas authored and gaearon committed Oct 28, 2017
1 parent 3c559b5 commit 540a145
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 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 540a145

Please sign in to comment.