-
Notifications
You must be signed in to change notification settings - Fork 466
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
SourceMap - Producing invalid JSON #242
Comments
@svnieuw, thanks for your input. The LESS compiler generates the sourcemap with |
I don't think the Windows style paths are valid whether they are escaped or not. Going by the spec https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#! any paths need to be in URL format |
@nschonni, yes. Ideally, it should calculate relative paths of destination file ( There is a C++ Windows system function |
Total Paths:
|
FWIW, here is how we can consume |
About 1/4th done. Also correct some usages & properties. Fixes madskristensen#480, madskristensen#387
Includes ugly hack for sass/libsass#242
Includes ugly hack for sass/libsass#242
Includes ugly hack for sass/libsass#242
* Until sass/libsass#242 is fixed.
* Until sass/libsass#242 is fixed.
The changes were from #329, but I still believe that this was patched in the wrong place. Node-sass won't be updated anytime soon because there are more regressions for |
* Until sass/libsass#242 is fixed.
@nschonni, can you please code-review my PRs for libsass and on node-sass repo? I am preparing another set of commits, which require merging of those branches (cherry-pick). Would be fantastic, if those changes would make their way in v2.0. Thanks in anticipation :) |
SourceMap: Fix relative paths for Windows (#242)
Cc: sass/node-sass#218
Like LESS, please replace
\
with\\
in file paths in.map
files.Here is what I am getting:
which is an invalid JSON
The expected result (the valid JSON) can be achieved by replacing
\
in file paths with\\
.Also, (OAN) the value of
file
is supposed to be path to output CSS, not the input SCSS (sass/node-sass#219).Thank you.
The text was updated successfully, but these errors were encountered: