News for hackers. Stuff that matters.
Re:What is a Source Map by Spearchucker on Wednesday November 15, 2017 @06:01AM (#15702912)
Source maps have never worked out for me, and my pages are tiny (I see no benefit in sacrificing readability for a reduction from 1K to 100 bytes).
Re:What is a Source Map by rimliu on Wednesday November 15, 2017 @06:54AM (#15703119)
That's an interesting claim about readability. You may as well argue that compilation of C program reduces its readability. Minification should be a step of making a production build. It does not affect source code and thus it does not affect readability.
Re:What is a Source Map by lmm on Wednesday November 15, 2017 @07:55AM (#15703396)
> You may as well argue that compilation of C program reduces its readability. Minification should be a step of making a production build.

You can't run C without building it, so you have to do some kind of compilation. I've certainly known people to argue for e.g. including debug symbols even in the build you ship to customers - the savings from stripping them aren't worth the added complexity and difficulty of debugging.