diff --git a/.yarnrc.yml b/.yarnrc.yml index de253e72ee..788c5deb0c 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -15,6 +15,9 @@ packageExtensions: chartjs-adapter-date-fns@*: peerDependencies: date-fns: "*" + swiper@*: + peerDependencies: + vue: "*" consolidate@*: dependencies: ejs: "*" diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index 49005a88a5..f23c621131 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -52,9 +52,6 @@ export default defineConfig(({ command, mode }) => { 'es2017', // TODO: そのうち消す ], manifest: 'manifest.json', - optimizeDeps: { - exclude: ['swiper'], - }, rollupOptions: { input: { app: './src/init.ts',