From 70e0c08ef7de8845b1a4c6700822e27e45b481a8 Mon Sep 17 00:00:00 2001 From: Nik Nyby <nnyby@columbia.edu> Date: Sat, 28 Oct 2017 16:58:09 -0400 Subject: [PATCH] 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. --- packages/react-scripts/config/webpack.config.dev.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index c9b65984b..a6be022ba 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -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 -- GitLab