You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nitro/vite strips mappings when generating sourcemaps #3826
I notice that when enabling sourcemaps, the maps produced for the nitro build have an empty mappings:"" property. I was not expecting the mappings to be empty when producing sourcemaps.
If I add experimental: { sourcemapMinify: false } to the config then the property is not empty.
This is kinda expected current behavior. Previously this workaround worked well because dependency chunks were seperated but now they are not it is a problem.
We likely have to removal mappings removal bits till supporting full parse and tree-shake.
Activity
pi0 commentedon Dec 1, 2025
This is kinda expected current behavior. Previously this workaround worked well because dependency chunks were seperated but now they are not it is a problem.
We likely have to removal
mappingsremoval bits till supporting full parse and tree-shake.