Skip to content

Commit

Permalink
docs: disable plugin-debug in production by default (#10928)
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos authored Feb 16, 2025
1 parent af272bd commit 75e5a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/api/plugins/plugin-debug.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
```
Expand Down

0 comments on commit 75e5a00

Please sign in to comment.