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