Embedded Sass Host for Ruby
This is a Ruby library that implements the host side of the Embedded Sass protocol.
It exposes a Ruby API for Sass that’s backed by a native Dart Sass executable.
Install
gem install sass-embedded
Usage
require "sass" Sass.render(file: "style.scss")
Options
Sass.render(**kwargs)
supports the following options:
data
file
indented_syntax
include_paths
output_style
indent_type
indent_width
linefeed
source_map
out_file
omit_source_map_url
source_map_contents
source_map_embed
source_map_root
functions
importer
Disclaimer: this is not an official Google product.