From 3b09e6f5106256f85136d1e70f26e70ebf093bda Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 22 Aug 2022 22:42:30 -0700 Subject: [PATCH] fix???? --- .yarnrc.yml | 3 +++ packages/client/vite.config.ts | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) 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',