-
Notifications
You must be signed in to change notification settings - Fork 1.3k
inline source map #372
Comments
This would be very nice |
You could always just do what gulp-sass does |
@jonathanong No, it looks like it coming in the next reference version of Sass sass/sass@dd48bb9, but I don't think the option should be added till after that. @jking90 that would be a good approach till libsass supports it natively. |
Any news on this? |
@mchambaud @jonathanong @scottmas since the new version of libsass has been released, we'll be updating very shortly. It takes some time to make a release but feel free to follow #443 for updates. I'll keep this issue open as some work will need to be done to support it. If any of you fancy taking a crack at a PR that'd be fantastic! |
@keithamus libsass still hasn't implemented inline sourcemaps yet |
@keithamus @nschonni I created a new issue with libsass to have it implemented. |
+1 |
@jking90, just saw the code you pointed out. Apparently they can use |
Just to give you guys heads-up; this feature is under development in libsass. See sass/libsass#603 and sass/libsass#605. We would need thorough testing (preferably comparable to less.js). If you guys want to chime in, please submit test cases to sass-spec; especially those covering complex import scenarios. Thanks. |
This is actually already implemented. The open PR is about adding more mapping information the the source maps. Embeding source maps and inlining source contents was implement in sass/libsass#591.
By setting both options to true you should get a completely self-contained source-map. |
👍, so we just need to add it here. |
This is added by d58c303 via #543. See #543 (comment). |
On that note; our documentation (readme) is quite outdated now. |
Inline source-map feature has arrived with v2.0.0-beta. See README and [release notes](v2.0.0-beta is just released. |
is there an option for inlining the sourcemap?
The text was updated successfully, but these errors were encountered: