mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
fix: handle React v18.3 warnings (#10079)
This commit is contained in:
parent
f1cb4ed560
commit
ca33858ca0
69 changed files with 85 additions and 48 deletions
|
@ -89,7 +89,7 @@ export default function preset(
|
|||
),
|
||||
);
|
||||
}
|
||||
if (isProd && sitemap !== false) {
|
||||
if (sitemap !== false && (isProd || debug)) {
|
||||
plugins.push(makePluginConfig('@docusaurus/plugin-sitemap', sitemap));
|
||||
}
|
||||
if (Object.keys(rest).length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue