This gem lets you use SassC with Middleman 3 by monkey patching relevant sass tilt templates. (Middleman 4 supports SassC out of box.)
In Gemfile
:
gem 'middleman3-sassc', '~> 0.0.1'
In config.rb
:
activate :sassc
There are a few ways to tell:
- Sass compilation will be noticeably faster, especially for large projects.
- SassC does not support Compass, so
@import "compass"
will fail. - SassC currently only supports Sass syntax up to 3.2. Using new features will fail.
The gem is available as open source under the terms of the MIT License.