From 75e5a00a66aae4f0e9dfbca9a4c85977028a37b8 Mon Sep 17 00:00:00 2001 From: Taras <9948629+taraspos@users.noreply.github.com> Date: Sun, 16 Feb 2025 14:22:59 +0000 Subject: [PATCH] docs: disable `plugin-debug` in production by default (#10928) --- website/docs/api/plugins/plugin-debug.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/plugins/plugin-debug.mdx b/website/docs/api/plugins/plugin-debug.mdx index e580466ce5..d764e61930 100644 --- a/website/docs/api/plugins/plugin-debug.mdx +++ b/website/docs/api/plugins/plugin-debug.mdx @@ -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), }; ```