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
Outbound css-code doesn't contain :local as an animation name. Or it throws an error if this way of writing animation: %s is unsupported.
Actual Behavior
it provides animation: 3s :local(animationName) (in the final css-code)
Code
.a {
/* it doens't work */animation:3s animationName;
}
.b {
/* it works */animation: animationName 3s;
}
@keyframes animationName {
0% {
background: white;
}
100% {
background: red;
}
}
How Do We Reproduce?
I did it here. But this demo works with parcel, not with webpack. So... I am not sure that I am creating an issue in a proper repo. My project where I faced it uses webpack and it works exactly the same. Should I create a bug there css-modules/css-modules instead?
So, how to reproduce:
write a style with animation: 3s animationName
it doesn't work
replace it with animation: animationName 3s
it works
The text was updated successfully, but these errors were encountered:
Expected Behavior
Outbound css-code doesn't contain
:local
as an animation name. Or it throws an error if this way of writinganimation: %s
is unsupported.Actual Behavior
it provides
animation: 3s :local(animationName)
(in the final css-code)Code
How Do We Reproduce?
I did it here. But this demo works with parcel, not with webpack. So... I am not sure that I am creating an issue in a proper repo. My project where I faced it uses webpack and it works exactly the same. Should I create a bug there css-modules/css-modules instead?
So, how to reproduce:
animation: 3s animationName
animation: animationName 3s
The text was updated successfully, but these errors were encountered: