Closed tomislav-s closed 7 years ago
Hi @tomislav-s!
Thanks for the report! I've looked into it and created an issue (#308) with the sass-loader
. It looks like they don't respect the resolve.root
option in Webpack config that should fix this.
We extract the user part of the manifest file directly from require
, import
, or in this case @import
statements from your code.
There is a workaround. If you read thru the options documentation where you'll see the mapAssetPath
function. There you can rewrite the erroneous items.
If you have any more questions please don't hesitate to ask.
BEFORE YOU SUBMIT please read the following:
Webpack version: 1.10.x / 2.x
Plugin version: 0.0.x
Current behavior: Relative paths needed for font loading
From manifest.json
Expected/desired behavior: Absolute path support for font loading
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration. Try to insert fonts on any rails/webpack project
What is the motivation / use case for changing the behavior? It would be cool if it supported absolute paths
Language: all