-
Notifications
You must be signed in to change notification settings - Fork 42
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
[webpack] css-loader v4.2 breaks svg-mixer #93
Comments
Noticing this as well.
|
Same here :/ |
After several hours, I've found a workaround:
.img {
background-image: url('./img.svg?fill=fff');
}
{
loader: 'svg-transform-loader',
options: {
transformQuery(query) {
if (query.fill) {
query.fill = `#${query.fill}`;
}
},
},
}, Hope it helps. |
Looks like its ok in css-loader v5.0.2 |
Yes, it works now with css-loader v5.0.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use a postcss-move-props-to-bg-image-query plugin.
After upgrade css-loader from 3.6 to 4.2 the plugin doesn't work anymore.
css-loader v3.6: Ok!
css-loader v4.2: Fail!
The text was updated successfully, but these errors were encountered: