@@ -187,6 +187,10 @@ export async function createBaseConfig({
187
187
// @ts -expect-error: Rspack-only, not available in Webpack typedefs
188
188
incremental : ! isProd && ! process . env . DISABLE_RSPACK_INCREMENTAL ,
189
189
190
+ // TODO re-enable later, there's an Rspack performance issue
191
+ // see https://github.com/facebook/docusaurus/pull/11178
192
+ parallelCodeSplitting : false ,
193
+
190
194
...PersistentCacheAttributes ,
191
195
} ;
192
196
}
@@ -249,14 +253,14 @@ export async function createBaseConfig({
249
253
modules : [ 'node_modules' , path . join ( siteDir , 'node_modules' ) ] ,
250
254
} ,
251
255
optimization : {
252
- // The optimizations .concatenateModules is expensive
256
+ // The optimization .concatenateModules is expensive
253
257
// - On the server, it's not useful to run it at all
254
258
// - On the client, it leads to a ~3% JS assets total size decrease
255
259
// Let's keep it by default, but large sites may prefer faster builds
256
260
// See also https://github.com/facebook/docusaurus/pull/11176
257
261
concatenateModules : ! isServer ,
258
262
259
- // The optimizations .mergeDuplicateChunks is expensive
263
+ // The optimization .mergeDuplicateChunks is expensive
260
264
// - On the server, it's not useful to run it at all
261
265
// - On the client, we compared assets/js before/after and see 0 change
262
266
// `du -sk js-before js-after` => the JS assets have the exact same size
0 commit comments