@@ -58,5 +58,37 @@ export default defineNuxtConfig({
5858 'workspaces.local' ,
5959 ] ,
6060 } ,
61+ optimizeDeps : {
62+ // Pre-bundle these dependencies to avoid reloads during development:
63+ include : [
64+ '@osmcha/maplibre-adiff-viewer' ,
65+ '@osmcha/osmchange-parser' ,
66+ '@sindresorhus/slugify' ,
67+ '@vue/devtools-core' ,
68+ '@vue/devtools-kit' ,
69+ '@zip.js/zip.js' ,
70+ 'ajv' , // CJS
71+ 'ajv-formats' , // CJS
72+ 'bootstrap-vue-next' ,
73+ 'bootstrap-vue-next/components/BAlert' ,
74+ 'bootstrap-vue-next/components/BApp' ,
75+ 'bootstrap-vue-next/components/BBadge' ,
76+ 'bootstrap-vue-next/components/BButton' ,
77+ 'bootstrap-vue-next/components/BCard' ,
78+ 'bootstrap-vue-next/components/BContainer' ,
79+ 'bootstrap-vue-next/components/BDropdown' ,
80+ 'bootstrap-vue-next/components/BFormInput' ,
81+ 'bootstrap-vue-next/components/BListGroup' ,
82+ 'bootstrap-vue-next/components/BModal' ,
83+ 'bootstrap-vue-next/components/BPopover' ,
84+ 'bootstrap-vue-next/composables/useModal' ,
85+ 'dayjs' , // CJS
86+ 'dayjs/plugin/relativeTime' , // CJS
87+ 'maplibre-gl' , // CJS
88+ 'papaparse' , // CJS
89+ 'vue-qrcode' ,
90+ 'vue3-toastify' ,
91+ ] ,
92+ } ,
6193 } ,
6294} ) ;
0 commit comments