@@ -32,17 +32,16 @@ const config = {
3232 themes : [ '@docusaurus/theme-mermaid' ] ,
3333
3434 // Performance optimizations with Docusaurus Faster
35- // Temporarily disabled memory-intensive optimizations for build stability
3635 future : {
3736 experimental_faster : {
38- swcJsLoader : false , // Disabled to reduce memory usage
39- swcJsMinimizer : false , // Disabled to reduce memory usage
40- swcHtmlMinimizer : false , // Disabled to reduce memory usage
41- lightningCssMinimizer : false , // Disabled to reduce memory usage
42- rspackBundler : false , // Disabled to reduce memory usage
43- rspackPersistentCache : false , // Disabled to reduce memory usage
44- mdxCrossCompilerCache : true , // Keep this for speed
45- ssgWorkerThreads : false , // Disabled to reduce memory usage
37+ swcJsLoader : true ,
38+ swcJsMinimizer : true ,
39+ swcHtmlMinimizer : true ,
40+ lightningCssMinimizer : true ,
41+ rspackBundler : true ,
42+ rspackPersistentCache : true , // 2-5x faster rebuilds
43+ mdxCrossCompilerCache : true ,
44+ ssgWorkerThreads : true , // 2x faster static generation
4645 } ,
4746 v4 : {
4847 removeLegacyPostBuildHeadAttribute : true , // Required for worker threads
0 commit comments