Better DX with Source Maps
summary
Vite enables JavaScript source maps in dev by default and requires build.sourcemap: true for production and css.devSourcemap: true to opt into experimental CSS maps. DevTools use source maps to map minified output back to original files, hide irrelevant frames like node_modules via an x_google_ ignore field Vite sets for you, and since Chrome 117* noisy source map loading warnings leave the console while an experiment restores original variable names so you can evaluate Coffee instead of n.
AI-written summary · about








