You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yinsang - it's a bug in the postcss-merge-longhand optimizer of cssnano@4.0.2.
It's fixed in cssnano@4.0.5 (see the release page).
I think it's a good idea to update the cssnano dependency version.
entry:
.aaaaaaaaaa{
border:1px solid pink;
border-top:1px solid green;
border-right:1px solid black;
}
output :
.aaaaaaaaaa{
border-color:green #000 pink pink;
border-right:1px solid pink;
border-style:solid;
border-top:1px solid pink;
border-width:1px
}
Actually,it goes wrong!
versions:
webpack 4.16.3
optimize-css-assets-webpack-plugin:5.0.0
if I code this as
{
border:1px solid pink;
border-top-color: green;
border-right-color:black;
}
It works!
The text was updated successfully, but these errors were encountered: