From 18b8a816403e58244955d85f7e6df74863fdb5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Sun, 10 Jul 2022 22:24:23 +0800 Subject: [PATCH] fix(other): disabled unplugin generate .d.ts --- build/plugin/unplugin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/plugin/unplugin.js b/build/plugin/unplugin.js index ab77e79..0287bb5 100644 --- a/build/plugin/unplugin.js +++ b/build/plugin/unplugin.js @@ -17,6 +17,7 @@ const customIconPath = getRootPath('src', 'assets/icons') export default [ AutoImport({ imports: ['vue', 'vue-router'], + dts: false, }), Icons({ compiler: 'vue3', @@ -28,5 +29,6 @@ export default [ }), Components({ resolvers: [NaiveUiResolver(), IconsResolver({ customCollections: ['custom'], componentPrefix: 'icon' })], + dts: false, }), ]