GuillaumeGomez / minifier-rs

Minifier tool/lib for JS/CSS/JSON files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't handle JS division operator

djahandarie opened this issue · comments

Expressions like 100/abc get turned into 100/bc (i.e., the 'a' gets chopped). This is not an issue if you wrap the mathematical operator in spaces, but obviously there's a ton of code which doesn't do that.

This one is quite bad! abc should be treated as an id so that's surprising...