From 5fddbdda2f17bdf3dc1c47d23ae964d575823b04 Mon Sep 17 00:00:00 2001 From: xiangshu233 Date: Thu, 4 Jan 2024 17:11:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E5=88=A0=E9=99=A4vite-plugin-vu?= =?UTF-8?q?e-setup-extend=20=E6=AE=8B=E7=95=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/vite/plugin/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build/vite/plugin/index.ts b/build/vite/plugin/index.ts index a91243a..f204433 100644 --- a/build/vite/plugin/index.ts +++ b/build/vite/plugin/index.ts @@ -1,9 +1,7 @@ import type { PluginOption } from 'vite'; import Components from 'unplugin-vue-components/vite'; import { VantResolver } from 'unplugin-vue-components/resolvers'; - import vue from '@vitejs/plugin-vue'; -import vueSetupExtend from 'vite-plugin-vue-setup-extend'; import WindiCSS from 'vite-plugin-windicss'; import { configHtmlPlugin } from './html'; @@ -29,8 +27,6 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean, prodMock: const vitePlugins: (PluginOption | PluginOption[])[] = [ // have to vue(), - // support name https://github.com/vbenjs/vite-plugin-vue-setup-extend - vueSetupExtend(), // 按需引入VantUi且自动创建组件声明 Components({ dts: true,