From 644cb07b01535cdd94ac60f19a7b3f58132f6953 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 3 Sep 2024 11:22:57 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=B0=8F=E6=96=87=E4=BB=B6=E5=90=88?= =?UTF-8?q?=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/config/distributed.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/core-frontend/config/distributed.ts b/core/core-frontend/config/distributed.ts index 1062d4006a..453ae3f25b 100644 --- a/core/core-frontend/config/distributed.ts +++ b/core/core-frontend/config/distributed.ts @@ -21,9 +21,6 @@ export default { entryFileNames: `js/[name]-${pkg.version}-${pkg.name}.js`, manualChunks(id: string, { getModuleInfo }) { if (id.includes('node_modules')) { - if (getModuleInfo(id).code.length < 10000) { - return 'node_modules_de' - } return id.toString().split('node_modules/')[1].split('/')[0].toString() } else if (id.includes('.vue') && getModuleInfo(id).code.length < 10000) { return 'vendor'