You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postcss-url can't seem to resolve ~font-awesome/fonts/fontawesome-webfont.eot to the correct node_modules path and resolves it relative to the scss file that's being transformed i.e. /Users/me/my-project/src/~font-awesome/fonts/fontawesome-webfont.eot which causes inlining to not work since there's no font file at that path.
Is there a way to have postcss-url resolve ~ prefixed paths from node_modules instead of relative to the scss file?
The text was updated successfully, but these errors were encountered:
I have a font-face block as follows:
postcss-url
can't seem to resolve~font-awesome/fonts/fontawesome-webfont.eot
to the correctnode_modules
path and resolves it relative to the scss file that's being transformed i.e./Users/me/my-project/src/~font-awesome/fonts/fontawesome-webfont.eot
which causes inlining to not work since there's no font file at that path.Is there a way to have
postcss-url
resolve~
prefixed paths fromnode_modules
instead of relative to the scss file?The text was updated successfully, but these errors were encountered: