-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
Font urls does not work when using sourceMap #296
Comments
duplicate of #232 I think |
Only difference which this ticket is the source is sass and not css |
@hoanguyen311 Error still exists? |
Yes I have same issue. I made a workaround by:
{
test : /\.scss$/,
loader : isProd ? ExtractTextPlugin.extract(['css-loader', 'sass-loader']) : 'style-loader!css-loader?sourceMap!sass-loader?sourceMap',
include : [paths.src],
exclude : [`${paths.src}/assets/styles/fonts.scss`]
},
{
test : /\.css$/,
loader : isProd ? ExtractTextPlugin.extract(['css-loader', 'sass-loader']) : 'style-loader!css-loader!sass-loader',
include : [`${paths.src}/assets/styles/fonts.css`]
} |
@janvesel your use webpack v1? |
@evilebottnawi I use webpack v1.14 |
@janvesel can your upgrade config to v2 and tests again? |
@evilebottnawi webpack 2/3 doesn't work either. |
@Kaijun can your create minimum reproducible test repo? |
Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks! |
I still have that problem, any solution? |
@EstevesDiogo I created a workaround by adding another loader for file that load fonts only and for that I didn't use sourceMap
|
webpack configuration:
styles/fonts.scss
And the font icons doesn't work
It's ok after I removed
sourceMap
option of css-loaderThe text was updated successfully, but these errors were encountered: