diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index f23c621131..d1949e24b3 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', },