Skip to content

Commit e5e0995

Browse files
authored
Updated docusaurus.config.js to allow docusaurus faster to be disabled
1 parent b187ea9 commit e5e0995

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ const config = {
1515

1616
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
1717
future: {
18-
v4: true, // Improve compatibility with the upcoming Docusaurus v4
18+
v4: {
19+
removeLegacyPostBuildHeadAttribute: true,
20+
useCssCascadeLayers: true,
21+
siteStorageNamespacing: true,
22+
fasterByDefault: (process.env.DOCUSAURUS_FASTER ?? 'true') === 'true',
23+
mdx1CompatDisabledByDefault: true,
24+
},
1925
},
2026

2127
url: url,

0 commit comments

Comments
 (0)