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
fix(@angular/build): preserve names in esbuild for improved debugging in dev mode
This commit introduces the `keepNames` option in esbuild configurations for both application code bundling and Vite utility functions.
By setting `keepNames` to `true` (or conditionally based on optimization settings), function and variable names are preserved during the build process. This significantly improves the debugging experience in **development mode** by ensuring that original names are retained in compiled output, leading to more readable stack traces and easier identification of code sections during development.
(cherry picked from commit 58da860)
0 commit comments