From 42428fbf995771e210625d327300be5a9ea0afde Mon Sep 17 00:00:00 2001 From: forehalo Date: Tue, 21 Jan 2025 04:57:43 +0000 Subject: [PATCH] build: wrong keep classnames options (#9750) --- tools/cli/src/webpack/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/cli/src/webpack/index.ts b/tools/cli/src/webpack/index.ts index e4ff37ca74..8755f314d9 100644 --- a/tools/cli/src/webpack/index.ts +++ b/tools/cli/src/webpack/index.ts @@ -42,8 +42,9 @@ const OptimizeOptionOptions: ( compress: { unused: true, }, - mangle: true, - keep_classnames: true, + mangle: { + keep_classnames: true, + }, }, }), ],