minify
minify copied to clipboard
Don't transform flex-basis: 0 into flex-basis: 0%
Hello,
When given this code:
.foo {
flex-basis: 0;
}
or this code:
.foo {
flex-basis: 0px;
}
the minifier transform the value into 0%
:
.foo{flex-basis:0%}
This is an issue because using percentages for flex-basis does not produce the same result.
This issue also happens when using the flex
shorthand:
.foo {
flex: 1 0 0;
}
.bar {
flex: 1 0 0px;
}
gives
.foo{flex:1 0 0%}.bar{flex:1 0 0%}