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}`,