Skip to content

Commit

Permalink
fix(bundle-size): partially revert 4a5cf81
Browse files Browse the repository at this point in the history
although "deterministic" isn't when changing loaders, it *is* when changing import order
- which is more important. we'll probably avoid the prior problem with changing loader
config changing chunk names (but not their contents) if/when we move to named chunks
  • Loading branch information
LeoMcA committed Sep 17, 2024
1 parent a3b9c8c commit 23ec4a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ function config(webpackEnv) {
level: "none",
},
optimization: {
chunkIds: isEnvProduction ? "natural" : "named",
moduleIds: isEnvProduction ? "natural" : "named",
chunkIds: isEnvProduction ? "deterministic" : "named",
moduleIds: isEnvProduction ? "deterministic" : "named",
minimize: isEnvProduction,
minimizer: [
// This is only used in production mode
Expand Down

0 comments on commit 23ec4a1

Please sign in to comment.