-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support for gulp-sourcemaps #70
Comments
+1 |
New version of stylus now supports source maps (http://learnboost.github.io/stylus/docs/sourcemaps.html), however this isn't really a viable solution if you pipe stylus output to any post-processors. |
Maybe it works with post processor if you use "inline" option ? |
It seems that it will work with |
Would it still work if you then piped the output through something like gulp-pxtorem? |
@leepowellcouk Every plugin between https://github.com/floridoo/gulp-sourcemaps/wiki/Plugins-with-gulp-sourcemaps-support |
IMO thats the preferable way to go - the more plugins with support for gulp-sourcemaps the easier it is to pipe them together. Each plugin trying to support sourcemaps independently is just leading to more problems. It's great that Stylus can now support them, but in workflow environments that utilise gulp or grunt then we need more flexibility. |
Will be working on getting this feature into accord shortly -- issue open here: jescalan/accord#52 |
👍 |
@Jenius sourcemaps can work now with this setup: #73 (comment) |
This doesn't seem to work if using the nib plugin with gulp-stylus, I get following:
This is possibly an issue with the node nib library (tj/nib/#265) |
Good news, we have a PR open to add source map support to accord. It is a breaking change, but once this has been merged and shipped I'll submit a PR to upgrade this library cleanly. |
👍 |
Is this in yet? |
Just published a new version of accord with full support for sourcemaps yesterday, so we can implement this whenever! |
@Jenius Nice, lets do it! |
I'll try to get a PR in before next Monday if I can manage 😁 |
\o/ Thrilled to see that it should soon be available! |
Good news guys, I just finished implementing this and it works gloriously. Both inline and external sourcemaps are looking great. I'd expect this feature to ship out today. Whoo! 🎉 🎊 |
👍 |
... would be great.
https://github.com/floridoo/gulp-sourcemaps
The text was updated successfully, but these errors were encountered: