GuillaumeGomez / minifier-rs

Minifier tool/lib for JS/CSS/JSON files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If a ";" is missing at the end of a line, it's not being added when minifying

GuillaumeGomez opened this issue · comments

For example:

let x = 12
for (var i = 0; i < x; ++i) {}

When minifying, a ";" should be added after ";" (or the "\n" shouldn't be removed since it acts the same way...).