simple_sass_transformer 0.0.2 copy "simple_sass_transformer: ^0.0.2" to clipboard
simple_sass_transformer: ^0.0.2 copied to clipboard

outdatedDart 1 only

A simple sass transformer for pub-serve and pub-build.

Dart Sass for Pub #

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: 0.0.2
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>

If relative paths are not so pretty for you, you can instead use package: just like in your .dart files.

@import 'package:your_package_name/styles';
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A simple sass transformer for pub-serve and pub-build.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

barback, sass

More

Packages that depend on simple_sass_transformer