Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Return calculated Source Map output path in stats object #674

Closed
sindresorhus opened this issue Feb 13, 2015 · 2 comments
Closed

Return calculated Source Map output path in stats object #674

sindresorhus opened this issue Feb 13, 2015 · 2 comments

Comments

@sindresorhus
Copy link
Contributor

Currently I have to manually calculate the output path of the source map file based on the sourceMap option value. Would be handy if node-sass returned this so every consumer didn't have to duplicate that logic.

https://github.com/sindresorhus/grunt-sass/blob/bb1136d18cdca2be8529ed92a2620b391c2b20c6/tasks/sass.js#L30

@am11
Copy link
Contributor

am11 commented Feb 13, 2015

Agree. 👍

@am11
Copy link
Contributor

am11 commented Feb 27, 2015

This was addressed by 2aebbd1 via #686.

You would be able to access this.options.sourceMap in (both method-like or node-like) callbacks.

@am11 am11 closed this as completed Feb 27, 2015
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
We've had countless bugs and regressions with parsing url(). This
patch is complete refactor of our url() parsing semantics to 100%
match that of Ruby Sass.

Fixes sass#674
Spec sass/sass-spec#539
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants