2 ms·
The pretty print is far, far from the original. Function names, variable names, comments, structure like if turning into ?:, etc. You indeed need to provide map
by lucb1e 6y ago
The pretty print is far, far from the original. Function names, variable names, comments, structure like if turning into ?:, etc. You indeed need to provide map files and that's often not done. Given how marginal the gains are, I can see the author's point.
- lousken 6y agoRight, but that's where you can split my response into two: either you minify by removing comments and whitespaces - then pretty print is enough. The other option is that you also mangle the code and obfuscate it, remove variable names etc. and that's when source maps comes into play