kangax / html-minifier

Javascript-based HTML compressor/minifier (with Node.js support)
http://kangax.github.io/html-minifier/
MIT License
4.92k stars 568 forks source link

How to pass `CleanCSS` options via `minifyCSS`? #1141

Open john-doherty opened 1 year ago

john-doherty commented 1 year ago

I'm trying to pass Clean CSS options via the minifyCSS property, according to the docs, I should be able to pass:

minifyCSS: {
    format: {
        semicolonAfterLastProperty: false
    }
}

But it has not affect. What am I missing?