wilsonzlin/minify-html

Minifying JS causes syntax errors

Opened this issue · 0 comments

image

Diff: SichangHe/sichanghe.github.io@476b730

$ minhtml -V
minhtml 0.15.0
$ minhtml js/* # Command used.

Specific locations screenshots:

image
image
image
image

Another problem that came up in testing is the failure to handle lines with // comments; it causes all the preceding content to be commented out…

Related: #177

Please feel free to ask for more information!