From 1930e0df13234e79d6e332d32e8bc21bc2b0dc9c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 3 Jun 2026 02:28:17 +0300 Subject: [PATCH] no longer needed? --- vite.config.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/vite.config.js b/vite.config.js index 3ffc5e816..93c35698d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -165,19 +165,6 @@ export default defineConfig(async ({ mode, command }) => { }), ...(mode === 'test' ? [mswPlugin()] : []), ], - optimizeDeps: { - // For unknown reasons, during vitest, vite will re-optimize the following - // deps, causing the test to reload, so add them here so that it will not - // reload during tests - include: [ - 'custom-event-polyfill', - 'vue-i18n', - '@ungap/event-target', - 'lodash.merge', - 'body-scroll-lock', - '@kazvmoe-infra/pinch-zoom-element', - ], - }, css: { devSourcemap: true, },