libsass
libsass copied to clipboard
Multiline custom properties stay multiline in compressed mode
Hi there,
While working on #30 in Chaarts I came across an issue when minifying output: custom properties which content is multiline aren't minified.
I made a dedicated Sassmeister.
After playing things around, it seems it's related to LibSass (not quite sure about node-sass directly, but that was what I used).
The exact same code minifies as intended with Dart Sass.
That's for the report. No semantic output differences like white spaces, and new lines are very low priority.
We recommend not relying on compressed output and instead using a dedicated case minifier for best results.