From 631907e0ce818f4273b7c589f44f630873bc6b52 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 22 Aug 2022 22:39:11 -0700 Subject: [PATCH] s --- packages/client/vite.config.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index 058fc68538..b51ca31909 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -53,9 +53,8 @@ export default defineConfig(({ command, mode }) => { ], manifest: 'manifest.json', rollupOptions: { - external: { - 'swiper': 'swiper', - 'vue': 'vue', + optimizeDeps: { + exclude: ['swiper'], }, input: { app: './src/init.ts',