Minifying, also known as minification, is the process of removing extraneous characters from your code, such as whitespace (such as indentation), code that is never used, comments, or verbose names for variables that may be replaced with something shorter.
Minifying your code leads in it taking up less space, being faster to transport from a server to a client, and consuming less bandwidth. This enhances the user experience on your site by allowing it to load quicker.
However, you should only minify the code that you are releasing, not the source version that you are developing, because minified code is more difficult to read and understand, making debugging more difficult. A source map facilitates this by mapping the minified code back to the original source code, allowing production defects to be mapped to the proper portion of code in the source version.
...will look like this once you submit it to be minified:
Ready to minify your JS code?
...or you can alsoBuy Me a Coffee
a small sip will do.
Other interesting tools related to this one. More tools are coming soon!