simple_sass_transformer 0.0.1 simple_sass_transformer: ^0.0.1 copied to clipboard
A simple sass transformer for pub-serve and pub-build.
simple_sass_transformer #
This transfomer simply compiles .scss and .sass files to .css files.
Since it depends on dart-sass, there is no need to have Sass installed.
Usage #
Add the following lines to your pubspec.yaml
:
dependencies:
simple_sass_transformer: any
transformers:
- simple_sass_transformer
Assume you have /path/to/file.scss
or /path/to/file.sass
, add these lines to your index.html
:
<head>
<link rel="stylesheet" href="/path/to/file.css">
</head>