mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs: disable `plugin-debug` in production by default (#10928)
This commit is contained in:
parent
af272bdefa
commit
75e5a00a66
|
|
@ -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…
Reference in New Issue