mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 22:02:00 +01:00
Christophe Coevoet
2cc136022f
Use dart analyze instead of the old dartanalyzer (#70)
The old dartanalyzer does not take exclude rules into account properly for linting rules if the excluded file is also imported from a non-excluded file (which is the case for the files generated by protobuf). The new tool does not suffer from this issue.
Embedded Dart Sass
This is a wrapper for Dart Sass that implements the compiler side of the Embedded Sass protocol. It's designed to be embedded in a host language, which then exposes an API for users to invoke Sass and define custom functions and importers.
Usage
dart_sass_embedded
starts the compiler and listens on stdin.dart_sass_embedded --version
printsversionResponse
withid = 0
in JSON and exits.
Releases
Binary releases are available from the GitHub release page. We recommend that embedded hosts embed these release binaries in their packages, or use a post-install script to install a specific version of the embedded compiler to avoid version skew.
Disclaimer: this is not an official Google product.
Languages
Dart
100%