html-minifier
html-minifier copied to clipboard
How to pass `CleanCSS` options via `minifyCSS`?
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?
If of interest, HTML Minifier Next (compatible successor project) uses Lightning CSS which should make such fine-tuning easy. See e.g. the docs in the HMN repo.