dojo / grunt-dojo2

Dojo 2 - Grunt tasks and configuration (internal use)
Other
4 stars 16 forks source link

@keyframe identifiers are minified #197

Closed bryanforbes closed 6 years ago

bryanforbes commented 6 years ago

Bug

Package Version: 3.0.0

Code

@keyframes fadeIn {
   // ...
}

Expected behavior:

The task postcss:modules-dev transforms the above code to:

@keyframes filename__fadeIn__hash {
   // ...
}

Actual behavior:

The above code is transformed to:

@keyframes a {
    // ...
}

This causes @keyframes to overwrite each other.