|
|
|
|
|
by white_dragon88
1267 days ago
|
|
Minification isn’t just about reducing size of the output, it also has the very important side effect of obfuscating the output to make it difficult if not practically impossible for reverse engineering and compromising of IP. That is a critical aspect that businesses will always opt for. And business use cases drive things like Typescript into existence. |
|
Minification is especially not sufficient for obfuscation in a world with pretty printers embedded into every Dev Tools in every browser.
Minification is just about reducing the size of the output. Any business that truly cares about the safety of their IP should look into "proper" obfuscators.
(Personally, I don't think obfuscators are generally worth the build time and their output worth the extra bandwidth either, but yes there I understand that security theater generally beats performance concerns.)