From 40e1108f91f195dbe9fd5bb23a9ea31c82798c6b Mon Sep 17 00:00:00 2001 From: Kitten9533 <1173860556@qq.com> Date: Sun, 10 Dec 2023 18:07:13 +0800 Subject: [PATCH] docs(cn): Correct a clerical error in optimization.mdx (#1870) --- src/content/configuration/optimization.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/optimization.mdx b/src/content/configuration/optimization.mdx index bf1ea3db17e2..57830898ab98 100644 --- a/src/content/configuration/optimization.mdx +++ b/src/content/configuration/optimization.mdx @@ -330,7 +330,7 @@ W> `moduleIds: total-size` 在 webpack 5 中被废弃。 `boolean = false` `string` -告知 webpack 将 `process.env.NODE_ENV` 设置为一个给定字符串。如果 `optimization.nodeEnv` 不是 `false`,则会使用 [DefinePlugin](/plugins/define-plugin/),`optimization.nodeEnv` **默认值**取决于 [mode](/concepts/mode/),如果为 falsy 值,则会回退到 `"production"`。 +告知 webpack 将 `process.env.NODE_ENV` 设置为一个给定字符串。如果 `optimization.nodeEnv` 不是 `false`,则会使用 [DefinePlugin](/plugins/define-plugin/),`optimization.nodeEnv` **默认值**取决于 [mode](/concepts/mode/),如果为 false 值,则会回退到 `"production"`。 可能的值有: