H3XED

Simple & Safe JavaScript Minifier

Sep 22, 2014   Programming   Nick Vogt   Comments (1)
Please note that this post is over a year old and may contain outdated information.
This JavaScript minifier removes all line breaks, tabs, comments, trailing semi-colons, and any unnecessary spaces. It performs no sorting or compressing, so it won't have any impact on how your JavaScript executes.

Enter JavaScript to minify:



How it works


Instead of performing sweeping string replacements, this minifier goes through the JavaScript source code character-by-character. It keeps track of when it's inside a comment or string, so it won't mess up your string text. That also means that if there are comments, newlines, or multiple spaces inside of a string, it will treat them correctly as a string and not remove them.
Share This Post
Facebook Twitter

Comments (1)

Hi Hu   Jun 30, 2017
Thanks for your article. Magento 2 product image popup extension https://bsscommerce.com/magento-2-image-gallery.html will be an extensions which should not miss
Share This Post
Facebook Twitter
H3XED © Nick Vogt   RSS   Policies   Facebook   Twitter   Google+