-
Notifications
You must be signed in to change notification settings - Fork 131
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
CLI options: debug info & sourcemap #42
Comments
FYI I found the implementation of the |
What i'm doing wrong with sourcemaps? Thank you in advice! |
@cbmd Source map generation currently only works if you specify an output file with the @emagnier As the |
@svnieuw: Thanks a lot for your PR, it's much clearer now :-) Also I played a bit with the latest version and found some minor issues (tested only on Windows):
|
I could replace the The |
I used MsysGit to compile on Windows, but I will redo some tests probably tonight. |
I was able to reproduce the issue in a Windows VM with MsysGit. I will try to fix it this weekend. |
Thanks for the latest PR, everything looks good now! |
If I remember well, the previous flag
-g
was for the Debug-Info. Is this feature is still available in Sassc? Because it's now mapped to the sourcemap option.I'm thinking that it should be better for users (and on the Sass porting in general) to keep a closer CLI from the Ruby-Sass version. So the new Sourcemap option should be available via the
--sourcemap
flag.In the past there was some confusions between debug-info, sourcemap and source-comments (which are all different things). A more clear CLI and documentation (via the
-h
) should help users (and Libsass/Sassc contributors) to be less confused. So the new-g
should be definitely another letter (because it correspond to debug-info in Ruby-Sass).The text was updated successfully, but these errors were encountered: