Skip to content

Commit cdc444d

Browse files
authored
chore(docs): Enable Docusaurus Faster (#12081)
1 parent f154fc2 commit cdc444d

File tree

4 files changed

+650
-20
lines changed

4 files changed

+650
-20
lines changed

docs/babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/docusaurus.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ const config: Config = {
150150
'https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap',
151151
'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;900&display=swap',
152152
],
153+
future: {
154+
v4: true, // opt-in for Docusaurus v4 planned changes
155+
experimental_faster: true, // turns Docusaurus Faster on globally
156+
},
153157
}
154158

155159
export default config

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@docusaurus/core": "3.8.1",
28+
"@docusaurus/faster": "3.8.1",
2829
"@docusaurus/plugin-content-docs": "3.8.1",
2930
"@docusaurus/preset-classic": "3.8.1",
3031
"@docusaurus/theme-common": "3.8.1",

0 commit comments

Comments
 (0)