From d53956b2fd01b3d98ca3d256dd3ec38e0863c7a7 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Thu, 10 Jul 2025 16:50:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E5=8C=85=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/webpack.config.js b/build/webpack.config.js index 572b1a1..94c173d 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -11,7 +11,7 @@ module.exports = { }, output: { path: path.resolve(__dirname, '../dist'), - filename: 'zhicheng-components.umd.js', + filename: '[name].umd.js', library: 'ZhichengUI', libraryTarget: 'umd', umdNamedDefine: true, @@ -72,9 +72,7 @@ module.exports = { }) ], optimization: { - splitChunks: { - chunks: 'all' - } + splitChunks: false }, externals: { vue: {