Skip to content

Commit 3ee0e2b

Browse files
Merge branch 'feature/pp-misc-feb-01' of https://github.com/netwrix/docs into dev
2 parents a431e99 + d9a29c1 commit 3ee0e2b

2 files changed

Lines changed: 1760 additions & 2804 deletions

File tree

docusaurus.config.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)