nanoc-dart-sass
This provides a filter that allows Nanoc to process content via Dart Sass.
This filter offers similar functionality to Nanoc’s built-in :sass
filter. The built-in :sass
filter, however, uses the Ruby Sass implementation, which has reached end of life.
Installation
Add nanoc-dart-sass
to the nanoc
group of your Gemfile:
group :nanoc do
gem 'nanoc-dart-sass'
end
Usage
Call the :dart_sass
filter. For example:
filter :dart_sass
Options passed to this filter will be passed on to Dart Sass. For example:
filter :dart_sass, syntax: 'scss'
filter :dart_sass, syntax: 'scss'