-
Notifications
You must be signed in to change notification settings - Fork 63
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
Relative paths should start from file location, not project root #33
Comments
I've also run into this issue, the code looks like it has an option called |
+1 Also having this problem |
+1 |
Resolved indeed. |
Nope, sincerely not, now it uses the path from the source-file:
style.scss: .foo {
background-image: url("../img/image.png");
}
|
@CinKon , your source file is located in |
+1 如果地址是非本地地址会报错 |
Hello,
I'm having an issue with relative paths. In a SCSS partial i'm declaring a background-image as
url(../img/bg.jpg)
, however the plugin searches for this file at the root of the project (/Users/user/Sites/code/project-folder
), not relative to the stylesheet path (should be/Users/user/Sites/code/project-folder/src/css
- where my CSS is).Stack trace is as follows:
The text was updated successfully, but these errors were encountered: