-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Optimizing dependencies - Nuxt 3.8.1 #24196
Copy link
Copy link
Closed as not planned
Description
Environment
- Operating System: Windows_NT
- Node Version: v20.9.0
- Nuxt Version: 3.8.1
- CLI Version: 3.9.1
- Nitro Version: 2.7.2
- Package Manager: [email protected]
- Builder: -
- User Config: devtools
- Runtime Modules: -
- Build Modules: -
Reproduction
Describe the bug
Since Nuxt 3.8.1 I (and few others on Discord) have noticed on development app boot that Nuxt/Vite does some dependencies optimization and it happens quite often (sometimes even on every page refresh, sometimes I noticed only once per dev server startup). Problem is that is also does full page refresh.
ℹ Vite server warmed up in 846ms 18:50:50
ℹ Vite client warmed up in 1195ms 18:50:50
✔ Nitro built in 548 ms nitro 18:50:51
ℹ ✨ new dependencies optimized: @tiptap/vue-3, @tiptap/starter-kit 18:50:53
ℹ ✨ optimized dependencies changed. reloading Provided small reproduction using tiptap editor. On my own project I have even more of these packages that produce the issue.
[18:43:23] ℹ ✨ new dependencies optimized: @tiptap/vue-3, @tiptap/starter-kit, @tiptap/extension-placeholder, @tiptap/extension-link, primevue/usetoast
ℹ ✨ optimized dependencies changed. reloading
[18:43:44] ℹ ✨ new dependencies optimized: echarts/core, echarts/renderers, echarts/charts, echarts/components, vue-echarts
ℹ ✨ optimized dependencies changed. reloading It really does impact DX since its doing full page refresh when it happens. If I revert to Nuxt 3.8.0, issue is gone.
Additional context
No response
Logs
No response
Reactions are currently unavailable