Skip to content

Commit 3d07bd5

Browse files
committed
feat(docs): enable experimental faster features in Docusaurus config
1 parent 19e87fc commit 3d07bd5

File tree

3 files changed

+987
-73
lines changed

3 files changed

+987
-73
lines changed

website/docusaurus.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ const { absoluteUrl } = config;
88

99
/** @type {Partial<import('@docusaurus/types').DocusaurusConfig>} */
1010
module.exports = {
11+
future: {
12+
experimental_faster: {
13+
swcJsLoader: true,
14+
swcJsMinimizer: true,
15+
swcHtmlMinimizer: true,
16+
lightningCssMinimizer: true,
17+
rspackBundler: true,
18+
mdxCrossCompilerCache: true,
19+
rspackPersistentCache: true,
20+
},
21+
v4: {
22+
removeLegacyPostBuildHeadAttribute: true,
23+
useCssCascadeLayers: false,
24+
},
25+
},
1126
title: 'API client for Python | Apify Documentation',
1227
url: absoluteUrl,
1328
baseUrl: '/api/client/python',

0 commit comments

Comments
 (0)