From fffe99a533e36d08cb10c542a819a8d3b5b441a6 Mon Sep 17 00:00:00 2001 From: zhaojinfeng <121016171@qq.com> Date: Thu, 14 Sep 2023 13:13:51 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=8E=92=E9=99=A4=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=EF=BC=8C=E5=87=8F=E5=B0=91=E6=89=93=E5=8C=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/build.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build.ts b/bin/build.ts index bb7bbff..f451246 100644 --- a/bin/build.ts +++ b/bin/build.ts @@ -1,8 +1,8 @@ /* * @Author: zhaojinfeng 121016171@qq.com * @Date: 2023-06-19 10:38:07 - * @LastEditors: peerless_hero peerless_hero@outlook.com - * @LastEditTime: 2023-08-30 16:44:17 + * @LastEditors: zhaojinfeng 121016171@qq.com + * @LastEditTime: 2023-09-14 13:13:08 * @FilePath: \vue3\bin\build.ts * @Description: * @@ -25,7 +25,7 @@ async function buildAComponent(name: string) { fileName: 'index', }, rollupOptions: { - external: ['vue', 'vue/macros', 'vue-router', '@vueuse/core', /\.sass/, /element-plus/], + external: ['vue', 'vue/macros', 'vue-router', '@vueuse/core', /\.sass/, /element-plus/, '@element-plus/icons-vue', '@vue-office/pdf', '@vue-office/docx', '@vue-office/excel'], output: [ { dir: `es/${name}`,