Closed
Description
I have this loader
{
test: /\.css$/,
loader: 'style!css?sourceMap'
}
and import font-awesome with this statement:
@import "~font-awesome/css/font-awesome.css";
Its working fine and the font url looks like this
@font-face {
font-family: 'FontAwesome';
src: url(/assets/32400f4e08932a94d8bfd2422702c446.eot);
But when I enable source maps via
{
test: /\.css$/,
loader: 'style!css?sourceMap'
}
It's not working anymore and the font url become
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.5.0');
Metadata
Metadata
Assignees
Labels
No labels