mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
docs: disable plugin-debug
in production by default (#10928)
This commit is contained in:
parent
af272bdefa
commit
75e5a00a66
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
};
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue