From 80e085dadccf165d329bc5086270f7c09eec01a6 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 22 Aug 2022 22:35:07 -0700 Subject: [PATCH] external --- packages/client/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index f23c62113..d1949e24b 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -53,6 +53,9 @@ export default defineConfig(({ command, mode }) => { ], manifest: 'manifest.json', rollupOptions: { + external: { + 'swiper': 'swiper', + }, input: { app: './src/init.ts', },