Yup, minify library was the culprit, it was solved very shortly after this issue was created here actually: CSS background attribute bug · Issue #603 · tdewolff/minify · GitHub
I’ve updated my go.mod to include the latest and it is working as expected.