Skip to content

Commit 871b2e9

Browse files
author
Morten N.O. Henriksen
committed
simplify output path
review feedback from @kumarlachhani
1 parent c0e4c4d commit 871b2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module.exports = function (webpackEnv) {
211211
: paths.appIndexJs,
212212
output: {
213213
// The build folder.
214-
path: isEnvProduction ? paths.appBuild : undefined,
214+
path: paths.appBuild,
215215
// Add /* filename */ comments to generated require()s in the output.
216216
pathinfo: isEnvDevelopment,
217217
// There will be one main bundle, and one file per asynchronous chunk.

0 commit comments

Comments
 (0)