-
Notifications
You must be signed in to change notification settings - Fork 355
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
Properly support UNC paths on the command line #1258
Comments
Sass operates on URLs, not on paths, so we don't plan to add support for any OS-specific paths. If you're converting paths into another format anyway, should you instead convert to a file URL. |
I tried out using So I added a conversion step before calling dart-sass, now passing |
I think the actual problem is the |
Ah, I see. I misread this as an issue with using the API, not the command line. OS paths passed on the command line should indeed be converted to URLs, so I'll reopen this, targeted to fixing that for UNC paths |
Dart's |
As a new feature of the project trunk we auto-download
dart-sass
to the local device and then execute it as one of our pipelines. Before we used a directly compiled library that integrates withlibsass
but as that's deprecated we want to move todart-sass
.In Rust, paths are quickly turned into UNC paths like
\\?\C:\Users\Me\...
through stdlib logic. We try to turn them back into the legacy-styleC:\Users\Me\...
paths but that may not always work due to path length limits and so on.Therefore, it would be great if
dart-sass
could support UNC paths for input/output files.The text was updated successfully, but these errors were encountered: