-
Notifications
You must be signed in to change notification settings - Fork 359
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
Legacy JS API does not handle symlinks properly #1687
Comments
Import URLs need to be in quotes, e.g. |
It is with quotes in the app. Sorry i forgot to put them here in the example. The issue still persists. |
Same code compiles with node-sass |
Can you provide a reproduction? |
hi @jathak , |
It looks like this is an issue with the legacy JS API not handling symlinks properly. It works fine both when using the command line, and when using the new JS API, so for your case I'd recommend migrating to the new API to workaround this. |
okay... But i do not control the api call, since that is done in another npm package |
this is with npm sass .
relative import fails when it starts with 2 dots
@import ../some-style
.I also checked how fs.existsSync handles paths with
..
in it.on linux fs.existsSync fails to find the file if the path contains
..
, on windows it works...The text was updated successfully, but these errors were encountered: