Use libsass
with Ruby!
This gem combines the speed of libsass
, the Sass C implementation, with the ease of use of the original Ruby Sass library.
Add this line to your application’s Gemfile:
gem 'sassc'
And then execute:
bundle
Or install it yourself as:
gem install sassc
This library utilizes libsass
to allow you to compile SCSS or SASS syntax
to CSS. To compile, use a SassC::Engine
, e.g.:
SassC::Engine.new(sass, style: :compressed).render
Note: If you want to use this library with Rails/Sprockets, check out sassc-rails.
Additionally, you can use SassC::Sass2Scss
to convert Sass syntax to Scss syntax.
This gem is maintained by Ryan Boland and awesome contributors.
See CHANGELOG.md.
bundle install
bundle exec rake test
git checkout -b my-new-feature
)git commit -am 'Add some feature'
) - try to include testsgit push origin my-new-feature
)