Skip to content

Commit 10cbf13

Browse files
authored
chore: enable Docusaurus Faster for website (#708)
1 parent 759319e commit 10cbf13

File tree

4 files changed

+817
-220
lines changed

4 files changed

+817
-220
lines changed

docusaurus.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ const docusaurusConfig = {
5252
},
5353
"onBrokenLinks": "log",
5454
"onBrokenMarkdownLinks": "log",
55+
"future": {
56+
"experimental_faster": true,
57+
"v4": {
58+
"removeLegacyPostBuildHeadAttribute": true,
59+
"useCssCascadeLayers": false, // FIXME Primary color will be changed to blue if this is enabled
60+
},
61+
},
5562
"presets": [
5663
[
5764
"@docusaurus/preset-classic",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@algolia/client-search": "^4.23.2",
2323
"@crowdin/cli": "4.6.1",
2424
"@docusaurus/core": "3.8.1",
25+
"@docusaurus/faster": "^3.9.1",
2526
"@docusaurus/plugin-client-redirects": "3.8.1",
2627
"@docusaurus/plugin-content-docs": "3.8.1",
2728
"@docusaurus/preset-classic": "3.8.1",

0 commit comments

Comments
 (0)