GuillaumeGomez / minifier-rs

Minifier tool/lib for JS/CSS/JSON files
MIT License
86 stars 16 forks source link

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

Open GuillaumeGomez opened 3 years ago

GuillaumeGomez commented 3 years ago

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...).