Skip to content

Commit

Permalink
Disable plugin-debug in production by default
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos authored Feb 13, 2025
1 parent 45065e8 commit 0a89f48
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 0a89f48

Please sign in to comment.