From 1c89d812987bb6f6956a31ca3f018b57f113e9ff Mon Sep 17 00:00:00 2001 From: Vida Xie Date: Thu, 23 Jan 2025 10:33:41 +0800 Subject: [PATCH] fix: correct `nodeEnv` type in `WebpackDevServerOptions` --- packages/webpack-cli/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-cli/src/types.ts b/packages/webpack-cli/src/types.ts index bdbcc1a988b..e5008bea2d8 100644 --- a/packages/webpack-cli/src/types.ts +++ b/packages/webpack-cli/src/types.ts @@ -164,7 +164,7 @@ type WebpackDevServerOptions = DevServerConfig & WebpackOptionsNormalized & FileCacheOptions & Argv & { - nodeEnv?: "string"; + nodeEnv?: string; watchOptionsStdin?: boolean; progress?: boolean | "profile" | undefined; analyze?: boolean;