Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/docusaurus/src/webpack/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,6 @@ export async function createBaseConfig({
experiments.incremental = false;
}

// See https://rspack.rs/blog/announcing-1-5#barrel-file-optimization
if (process.env.DISABLE_RSPACK_LAZY_BARREL) {
console.log('Rspack lazyBarrel disabled');
experiments.lazyBarrel = false;
} else {
// TODO remove after we upgrade to Rspack 1.6+
// Enabled by default for Rspack >= 1.6
experiments.lazyBarrel = true;
}

// TODO re-enable later, there's an Rspack performance issue
// see https://github.com/facebook/docusaurus/pull/11178
experiments.parallelCodeSplitting = false;
Expand Down
Loading