diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index b51ca31909..49005a88a5 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -52,10 +52,10 @@ export default defineConfig(({ command, mode }) => { 'es2017', // TODO: そのうち消す ], manifest: 'manifest.json', + optimizeDeps: { + exclude: ['swiper'], + }, rollupOptions: { - optimizeDeps: { - exclude: ['swiper'], - }, input: { app: './src/init.ts', },