cli: expand comment

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2024-07-19 14:05:28 +01:00
parent 2e1a7f10e5
commit 0983429447
+3 -1
View File
@@ -251,7 +251,9 @@ export async function createConfig(
`${dirname(require.resolve('react-dom/package.json'))}/`,
];
// Don't define process.env.NODE_ENV with value matching config.mode.
// Don't define process.env.NODE_ENV with value matching config.mode. If we
// don't set this to false, webpack will define the value of
// process.env.NODE_ENV for us, and the definition below will be ignored.
optimization.nodeEnv = false;
// Instead, provide a custom definition which always uses "development" if