3 ms·
Source maps are a debug tool. Why does the performance matter? (And if you're shipping so much JavaScript to your site users that you need to "minify", maybe y
by Animats 9y ago
Source maps are a debug tool. Why does the performance matter?
(And if you're shipping so much JavaScript to your site users that you need to "minify", maybe you're doing it wrong.)
- tromey 9y ago> Source maps are a debug tool. Why does the performance matter? If the source map decoder is slow, then the debugger feels slow.
- orf 9y agoTools like Sentry parse them, and need consistent fast performance in this area. Other debugging tools use them. Your statement in brackets seems very "those damn kids"-ish. You need to "minify" your JS files even if you're shipping a small amount of JS, because loading performance matters and JS minifies very well.
- masklinn 9y agoBrowsers also use them do display "expanded" code in the console and debugger.
- bluetwo 9y ago> if you're shipping so much JavaScript to your site users that you need to "minify", maybe you're doing it wrong. 100% agree.