5 ms·
Your source code is not that special. Really. Do you really think you have some clever trick nobody else has considered, and that you can successfully hide it b
by quotemstr 14y ago
Your source code is not that special. Really. Do you really think you have some clever trick nobody else has considered, and that you can successfully hide it behind minification? Come on.
- blcArmadillo 14y agoWhile timmclean's comment does indicate that he was thinking about keeping your codebase private; most people minify their code to cut down on filesizes... so his questions is still valid.
- daleharvey 14y agoIt isnt, the source maps are what is used to get it back to an unminified state
- nilved 14y agoThe question is, but it's answered with source maps. The concern that source maps allow anybody greater access to your code is not a valid one.
- timmclean 14y agoI just did some more reading on source maps. I thought they had far more information about the original source than they actually do. Thanks!
- skyhook_mockups 14y agoMaybe the source is not special or unique, but not everyone wants to give away their work. Eg you just spent 6 months developing a product feature and by coincidence your competitor also launches the same feature 2 weeks later :| Of course minified code is also usable, however it makes things just that little bit more difficult for rip off artists. I'm all for free and open software, but some aren't, and they're free to feel that way.
- timmclean 14y agoI don't think I have any tricks clever enough to help anyone who can easily read minified code :) I only want to prevent simple theft from copy/pasting of source code.