Skip to content

Commit

Permalink
disable parallel terser on production builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-funk committed Sep 21, 2023
1 parent 2295a6d commit a1b0c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/core/build/createWebpackConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ export default function createWebpackConfig(
safari10: true,
},
cache: enableBuildCache,
parallel: 4,
sourceMap: isProduction,
parallel: isProduction ? false : true,
sourceMap: !disableSourcemaps,
}),
],
},
Expand Down

0 comments on commit a1b0c8d

Please sign in to comment.