Closed eibrahim closed 9 years ago
You can add any grunt task to lineman that you wish. See Adding Tasks in the documentation.
So you can add the grunt-sass task (which uses libsass instead of ruby sass) yourself and avoid grunt-contrib-sass.
To add to this, lib-sass is so close to feature parity with ruby-sass, but it's not quite there yet. The big outlier is @extend
which doesn't work properly in lib-sass. Believe me, I want to upgrade this ASAP because lib-sass is so much faster than ruby sass.
Yeah, same. The good news is that unlike when this first came up 2 whole years ago the sass maintainers have gotten on board with libsass support, so at least I'm confident it will happen. It was looking unlikely at first.
Oh, and broader context: we want to pull sass out of lineman core entirely. I think the go forward plan is:
We could do 1 today in the same way we did lineman-less
:+1:
@jasonkarns if I add a custom task to use grunt-sass do I need to disable the grunt-contrib-sass in lineman and if so how do I do that? Is it just setting enableSass to false in config/application.coffee?
@jasonkarns never mind. I figured it out and it works great and I blogged it at http://www.emadibrahim.com/2014/08/06/use-sass-with-lineman-without-ruby/
Thanks for all your help.
Woot. Thanks for taking this intermediate step
On Wed, Aug 6, 2014 at 11:26 AM, eibrahim notifications@github.com wrote:
@jasonkarns never mind. I figured it out and it works great and I blogged it at http://www.emadibrahim.com/2014/08/06/use-sass-with-lineman-without-ruby/
Thanks for all your help.
Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/304#issuecomment-51350642
Anyway I can enable sass/scss without the ruby dependency? I prefer scss over less but don't want to force all my devs to install ruby and sass. I hate the ruby dependency!!!!