@@ -187,6 +187,10 @@ export async function createBaseConfig({
187187 // @ts -expect-error: Rspack-only, not available in Webpack typedefs
188188 incremental : ! isProd && ! process . env . DISABLE_RSPACK_INCREMENTAL ,
189189
190+ // TODO re-enable later, there's an Rspack performance issue
191+ // see https://github.com/facebook/docusaurus/pull/11178
192+ parallelCodeSplitting : false ,
193+
190194 ...PersistentCacheAttributes ,
191195 } ;
192196 }
@@ -249,14 +253,14 @@ export async function createBaseConfig({
249253 modules : [ 'node_modules' , path . join ( siteDir , 'node_modules' ) ] ,
250254 } ,
251255 optimization : {
252- // The optimizations .concatenateModules is expensive
256+ // The optimization .concatenateModules is expensive
253257 // - On the server, it's not useful to run it at all
254258 // - On the client, it leads to a ~3% JS assets total size decrease
255259 // Let's keep it by default, but large sites may prefer faster builds
256260 // See also https://github.com/facebook/docusaurus/pull/11176
257261 concatenateModules : ! isServer ,
258262
259- // The optimizations .mergeDuplicateChunks is expensive
263+ // The optimization .mergeDuplicateChunks is expensive
260264 // - On the server, it's not useful to run it at all
261265 // - On the client, we compared assets/js before/after and see 0 change
262266 // `du -sk js-before js-after` => the JS assets have the exact same size
0 commit comments