Skip to content
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

Source map paths behave badly on Win32 #55

Closed
ghost opened this issue Feb 26, 2014 · 1 comment
Closed

Source map paths behave badly on Win32 #55

ghost opened this issue Feb 26, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 26, 2014

Some example bad outputs in the source map for Windows:
../C:\foo\bar\baz.scss
../../../../../C:\foo\bar\baz.scss
../C:\foo\bar/qux.scss
C:\foo\bar/qux/quux.scss

When source_map_file and input_path are in the same directory, it does not output relative paths in the source map and instead uses mixed slashes as shown above.

Workaround: replace backslashes with forward slashes in both input_path and source_map_file.

I'd be OK with it using forward slashes as ultimately this will be served from a URL and forward slashes are appropriate for URLs, but it doesn't make the URL relative and that's an issue.

@ghost
Copy link
Author

ghost commented Feb 26, 2014

Sorry, this issue is for libsass not sassc.

@ghost ghost closed this as completed Feb 26, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants