Often, when large Javascript libraries are put into operation, the code is "minimized" to ...
- Reduce download size
- Make it harder to redo the code
I think the main motivator is No. 1.
This process usually includes things like removing comments and spaces and changing links to links to individual characters.
For example, see JSMin .
source share