lit-scss-loader
lit-scss-loader copied to clipboard
Minify option true, remove css svg properties
Setting up minify option to true
removing svg properties cx
, cy
, r
.
I think this behaviour coming from clean-css@v4
package
var CleanCSS = require('clean-css');
var input = `
.test {
cx: 0.5em;
cy: 0.5em;
fill: none;
r: 0.2em;
}
`;
var options = { /* options */ };
var output = new CleanCSS(options).minify(input);
console.log(output.styles);
By changing it to clean-css version 5, should fix this issue