I’m handling my CSS as a Hugo Resource.
hugo --minify or
resources.Get "styles/main.scss" | resources.ToCSS | resources.Minify) with Hugo causes some of my CSS to be altered, reducing the support I had planned.
I always minify my site with
hugo --minify, but that also alters any CSS embedded in the HTML.
rgba(rr, gg, bb, aa) is translated to
#rrggbbaa hex notation, which has less support.
Such conversion is not intended, so how can I configure Hugo’s minification behavior?