Go to file
2021-12-29 16:01:03 -08:00
.github/workflows Refer to "main" branches (#49) 2021-06-29 16:14:01 -07:00
bin Treat invalid function signatures as function errors (#58) 2021-12-29 15:00:16 -08:00
lib/src Allow ImporterResponse.result to be null (#59) 2021-12-29 16:01:03 -08:00
test Allow ImporterResponse.result to be null (#59) 2021-12-29 16:01:03 -08:00
tool Refer to "main" branches (#49) 2021-06-29 16:14:01 -07:00
.gitignore Add a length-delimited StreamChannelTransformer (#1) 2019-10-29 21:05:18 +00:00
CHANGELOG.md Allow ImporterResponse.result to be null (#59) 2021-12-29 16:01:03 -08:00
CODE_OF_CONDUCT.md Boilerplate files 2019-05-07 16:53:00 -07:00
CONTRIBUTING.md Boilerplate files 2019-05-07 16:53:00 -07:00
LICENSE Boilerplate files 2019-05-07 16:53:00 -07:00
pubspec.yaml Treat invalid function signatures as function errors (#58) 2021-12-29 15:00:16 -08:00
README.md Implement --version flag for cli (#53) 2021-09-02 00:33:09 +00:00

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 prints versionResponse with id = 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.