Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ module.exports = async function createConfigAsync() {
}
},
future: {
v4: true,
// Granular v4 opt-in. We adopt the safe v4 defaults but intentionally
// leave two off until the repo is ready:
// - fasterByDefault (Rspack): docusaurus-node-polyfills pushes a webpack
// ProvidePlugin that Rspack 1.7 rejects.
// - mdx1CompatDisabledByDefault: many pages use <!--TX--> HTML comments,
// which strict MDX rejects.
// `v4: true` would enable all five and break the build on 3.10.
v4: {
useCssCascadeLayers: true,
siteStorageNamespacing: true,
removeLegacyPostBuildHeadAttribute: true,
},
},

customFields: {
Expand Down
Loading