Created by: gnuletik
A simple PR to upgrade css-loader
to version 2.1.0.
There is a bug with version 1.0.0 when importing a font with a hash at the end.
For example: This CSS
@font-face {
font-family: "My Font";
src: url("My Font.svg#Font Name") format("svg");
}
generates this:
@font-face {
font-family: "My Font";
src: url("/static/media/My Font.f84c8961.svg"#Font Name) format("svg");
}
(which is invalid)
This issue is fixed in css-loader
v2.0.0.
See the changelog here: https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md
In this commit: https://github.com/webpack-contrib/css-loader/issues/803