Skip to content

Commit b681014

Browse files
AchoArnoldCopilot
andcommitted
fix(web): add Vite optimizeDeps for stable dev server
Pre-bundle commonly used dependencies to prevent runtime re-optimization that causes transient import failures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3eae4c3 commit b681014

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

web/nuxt.config.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ export default defineNuxtConfig({
2323
},
2424
},
2525
},
26+
optimizeDeps: {
27+
include: [
28+
"chartjs-adapter-moment",
29+
"@mdi/js",
30+
"date-fns",
31+
"libphonenumber-js",
32+
"firebase/compat/app",
33+
"firebase/compat/auth",
34+
"firebaseui",
35+
"qrcode",
36+
"pusher-js",
37+
],
38+
},
2639
},
2740

2841
vuetify: {

0 commit comments

Comments
 (0)