-
Notifications
You must be signed in to change notification settings - Fork 141
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
Setting custom path for sourcemap file #209
Comments
I think we should have the .map file at the same location as the generated CSS file. This keeps things consistent and the configuration easier to read.
This should generate |
This will not always work depending on the project you are working on and how it is organized. Being able to set the path for the sourcemap is more useful. This way you get the best of both worlds. Default could be the same location as the CSS, but add the option to set it to another. Some other Grunt plugins already have this ability. |
Okay - so the .map should be generated at the same location as the CSS by default - but we need some mechanism to put .map files in another location. |
I looked into this for a bit today and here are my findings. grunt-contrib-sass depends on Ruby's The other plugins use the C/C++ To get the |
Here's what I have right now:
Potential issue: The file Is this a good way to solve this issue? |
This should be fixed in Ruby Sass, not here. → https://github.com/sass/sass/issues/new |
Looks good so far. @sindresorhus , which aspect of all of this should be fixed in Ruby Sass? |
|
I exposed a file name flag in the If it does, we can have a new parameter: |
Awaiting on sass/sass#1844 to proceed. |
Would you please add this as a feature for the sourcemap options in a future release? Thank you!
The text was updated successfully, but these errors were encountered: