Skip to content

Commit

Permalink
feat: enable parallel code splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
JSerFeng committed Jan 21, 2025
1 parent 92f6cff commit a4613bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rspack/src/config/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const applyExperimentsDefaults = (
// rspackFuture.bundlerInfo default value is applied after applyDefaults

// IGNORE(experiments.parallelCodeSplitting): Rspack specific configuration for new code splitting algorithm
D(experiments, "parallelCodeSplitting", false);
D(experiments, "parallelCodeSplitting", true);
};

const applybundlerInfoDefaults = (
Expand Down Expand Up @@ -923,7 +923,7 @@ const applyOptimizationDefaults = (
css
}: { production: boolean; development: boolean; css: boolean }
) => {
D(optimization, "removeAvailableModules", false);
D(optimization, "removeAvailableModules", true);
D(optimization, "removeEmptyChunks", true);
D(optimization, "mergeDuplicateChunks", true);
F(optimization, "moduleIds", (): "natural" | "named" | "deterministic" => {
Expand Down

0 comments on commit a4613bf

Please sign in to comment.