-
-
Notifications
You must be signed in to change notification settings - Fork 608
css-loader 0.15.1 breaks keyframe animations #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I wrote this behaviour, which is best when all of your CSS is defined in single file. Both of these transformations can be disabled; the first by |
Disable unused rule removal & identifier reduction. Fixes #89.
Just in case anyone stumbles across this, it's |
And, if i'm not mistaken, it's |
Yeah, we deprecated these in v2.5.0 (and removed in v3.0.0) |
I see this effect when I'm using css-loader for ExtractTextPlugin. I've tried to disable the options mentioned above. I've even tried to disable minimizing entirely, but the keyframe names are still renamed to Here's my configuration: scss: {
test: /\.scss$/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
'css-loader?sourceMap&minimize=false',
/* I've tried these too:
'css-loader?sourceMap&minimize.discardUnused=false&minimize.mergeIdents=false',
'css-loader?-minimize',
{
loader: 'css-loader',
options: {
minimize: {
discardUnused: false,
mergeIdents: false,
}
}
}
*/
'sass-loader'
]
})
}
I'm not sure if the problem lies in css-loader or in the way ExtractTextPlugin uses it. |
For me it either:
a
which breaks one of them with lower priority (because the latter overrides the former) - see more details here.The text was updated successfully, but these errors were encountered: