@@ -32,22 +32,22 @@ const config = {
3232 themes : [ '@docusaurus/theme-mermaid' ] ,
3333
3434 // Performance optimizations with Docusaurus Faster
35- future : {
36- experimental_faster : {
37- swcJsLoader : true ,
38- swcJsMinimizer : true ,
39- swcHtmlMinimizer : true ,
40- lightningCssMinimizer : true ,
41- // Disable Rspack to avoid the lazyBarrel schema error
42- // rspackBundler: true,
43- // rspackPersistentCache: true,
44- mdxCrossCompilerCache : true ,
45- ssgWorkerThreads : true ,
46- } ,
47- v4 : {
48- removeLegacyPostBuildHeadAttribute : true ,
35+ future : {
36+ experimental_faster : {
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
45+ } ,
46+ v4 : {
47+ removeLegacyPostBuildHeadAttribute : true , // Required for worker threads
48+ // useCssCascadeLayers: true, // Temporarily disabled - may cause style conflicts
49+ } ,
4950 } ,
50- } ,
5151
5252 // Even if you don't use internationalization, you can use this field to set
5353 // useful metadata like html lang. For example, if your site is Chinese, you
0 commit comments