fix: exclude dayjs and lodash-unified from vite optimizeDeps

This commit is contained in:
Administrator 2026-03-23 12:35:09 +08:00
parent 9a0a6d8730
commit c7656ed813

View File

@ -5,4 +5,9 @@ export default defineNuxtConfig({
elementPlus: { elementPlus: {
themes: ['dark'], themes: ['dark'],
}, },
vite: {
optimizeDeps: {
exclude: ['dayjs', 'lodash-unified']
}
}
}) })