From c7656ed81321f2fa6b8e7eebd6bd14a0ffae9450 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 23 Mar 2026 12:35:09 +0800 Subject: [PATCH] fix: exclude dayjs and lodash-unified from vite optimizeDeps --- nuxt.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 3eb4b33..c88eae8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,4 +5,9 @@ export default defineNuxtConfig({ elementPlus: { themes: ['dark'], }, + vite: { + optimizeDeps: { + exclude: ['dayjs', 'lodash-unified'] + } + } })