docs: disable plugin-debug in production by default (#10928)

This commit is contained in:
Taras 2025-02-16 14:22:59 +00:00 committed by GitHub
parent af272bdefa
commit 75e5a00a66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ If you use a standalone plugin, you may need to achieve the same effect by check
export default {
plugins: [
// highlight-next-line
process.env.NODE_ENV === 'production' && '@docusaurus/plugin-debug',
process.env.NODE_ENV !== 'production' && '@docusaurus/plugin-debug',
].filter(Boolean),
};
```