2 ms·
> Aside: if you ship software and run any sort of stripping/minification on it and want to claim it is for the size benefits exclusively, you are honor bound to
by Wowfunhappy 6y ago
> Aside: if you ship software and run any sort of stripping/minification on it and want to claim it is for the size benefits exclusively, you are honor bound to provide the information you removed, whether that is DWARF or a source map. No exceptions.
Is that entirely fair?
Let's say you strip symbols to decrease size, but also in general don't consider inspectability to be particularly important (which isn't to say you're against it, merely neutral). You might decide that providing a source map simply isn't worth the effort, even if it's minimal.
- saagarjha 6y agoThen you’re saying that you are OK with making the application opaque to all of your end users. You can claim you’re neutral on introspectability, but if you’re not doing the (minimal) work it takes to undo the information loss your net effect has been negative. Just to drive the point home, you can say you are “mildly for or neutral on efficiency” but then if you use Electron, it doesn’t matter what your position is, you’ve just made an bloated piece of software. And there isn’t even an easy fix for Electron…