GuillaumeGomez / minifier-rs

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

Preserve whitespace after close brackets when appropriate #51

Closed indy closed 4 years ago

indy commented 4 years ago

When minifying CSS, the closing brackets may need to retain whitespace. An example is given at https://gist.github.com/indy/90158eca63a1be0113f02628a1780dae

GuillaumeGomez commented 4 years ago

Nice catch once again! Tell me when you want/need a new release because I think you'll certainly find new bugs.

indy commented 4 years ago

These were the issues I found when trying to minify an existing CSS codebase. A release that incorporates the two fixes would be great, so feel free to publish a new release whenever you're ready. (And thanks for writing this library, it's proven really useful)

GuillaumeGomez commented 4 years ago

Then let's go. Considering there is no API changes, it'll be a minor release.

GuillaumeGomez commented 4 years ago

Just realized I didn't make any "medium" release yet so definitely a minor release. :rofl:

GuillaumeGomez commented 4 years ago

Published.

indy commented 4 years ago

Thanks