sass 0.0.4+2 sass: ^0.0.4+2 copied to clipboard
Sass-transformer for pub-serve and pub-build.
Sass integration for pub #
Sass-transformer for pub-serve and pub-build.
Usage #
Simply add the following lines to your pubspec.yaml
:
dependencies:
sass: any
transformers:
- sass
After adding the transformer your .sass
and .scss
files will be automatically transformed to
corresponding .css
files.
You need to have Sass installed and available on the path.
Configuration #
You can also pass options to Sass if necessary:
transformers:
- sass:
executable: /path/to/sass
compass: true
line-numbers: true
style: compact
Current limitations #
- UTF8-encoding is assumed for all input files.