Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e9b5f8

Browse files
authored
docs: enable experimentalfaster features in Docusaurus config (#438)
Switching to SWC from `babel` seems to fix the crashing APIdocumentation issuerelated toapify/apify-docs#1686
1 parent19e87fc commit0e9b5f8

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)

[8]ページ先頭

©2009-2025 Movatter.jp