mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 10:17:55 +02:00
perf(core): remove bundler optimization.removeAvailableModules
(#11072)
remove removeAvailableModules
This commit is contained in:
parent
e8e67e9b9e
commit
67248f8e66
1 changed files with 0 additions and 2 deletions
|
@ -249,8 +249,6 @@ export async function createBaseConfig({
|
||||||
modules: ['node_modules', path.join(siteDir, 'node_modules')],
|
modules: ['node_modules', path.join(siteDir, 'node_modules')],
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
// See https://github.com/web-infra-dev/rspack/issues/9834
|
|
||||||
removeAvailableModules: true,
|
|
||||||
// Only minimize client bundle in production because server bundle is only
|
// Only minimize client bundle in production because server bundle is only
|
||||||
// used for static site generation
|
// used for static site generation
|
||||||
minimize: minimizeEnabled,
|
minimize: minimizeEnabled,
|
||||||
|
|
Loading…
Add table
Reference in a new issue