From b00460a670ead02ebb59e70d7f7ff166d06f601e Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 31 Jul 2024 10:57:07 +0300 Subject: [PATCH] Disable optimizer --- vite.config.mjs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vite.config.mjs b/vite.config.mjs index e30fd817..dbb18f94 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -1,12 +1,15 @@ import { fileURLToPath, URL } from 'node:url'; -import { defineConfig } from 'vite'; +import { PrimeVueResolver } from '@primevue/auto-import-resolver'; import vue from '@vitejs/plugin-vue'; import Components from 'unplugin-vue-components/vite'; -import { PrimeVueResolver } from '@primevue/auto-import-resolver'; +import { defineConfig } from 'vite'; // https://vitejs.dev/config/ export default defineConfig({ + optimizeDeps: { + noDiscovery: true + }, plugins: [ vue(), Components({