From 6170340fcb378c99fa13bb50a956b0d957b3da0a 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 de253e72e..788c5deb0 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 49005a88a..f23c62113 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',