Closed
Description
- Operating System: macOS 10.14
- Node Version: 10.4.1
- NPM Version: 6.4.1
- webpack Version: 4.27.1
- css-loader Version: 2.0.1
Expected Behavior
CSS animation sytax works as expected
Actual Behavior
animation syntax becomes broken when transformed with css modules
Code
Give this input:
animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out;
Produces this invalid output ('local' near the end) since version 2.0:
animation: slide-right__Fzt 300ms forwards ease-out, fade-in__1Ir 300ms :local(forwards) :local(ease-out);
css loader:
{
loader: 'css-loader',
options: {
modules: true
}
}