Go to file
2022-01-31 15:15:23 -08:00
.github/workflows Add dependency_overrides on sass_api for linked PRs (#69) 2022-01-27 13:09:58 -08:00
bin Implement support for sourceMapIncludeSources (#62) 2022-01-31 15:15:23 -08:00
lib/src Use the Sass shared Dart analysis options (#67) 2022-01-25 17:16:17 -08:00
test Implement support for sourceMapIncludeSources (#62) 2022-01-31 15:15:23 -08:00
tool Allow PRs to be linked to the Dart Sass and embedded protocol repos 2022-01-25 17:16:39 -08:00
.gitignore Commit the lockfile (#63) 2021-12-30 14:01:54 -08:00
analysis_options.yaml Use the Sass shared Dart analysis options (#67) 2022-01-25 17:16:17 -08:00
CHANGELOG.md Update dependency versions (#65) 2022-01-13 16:20:13 -08:00
CODE_OF_CONDUCT.md Boilerplate files 2019-05-07 16:53:00 -07:00
CONTRIBUTING.md Cut a release of the embedded host after the compiler releases (#68) 2022-01-26 17:13:10 -08:00
LICENSE Boilerplate files 2019-05-07 16:53:00 -07:00
pubspec.lock Add a test that verifies the Dart Sass version 2022-01-25 17:20:21 -08:00
pubspec.yaml Add a test that verifies the Dart Sass version 2022-01-25 17:20:21 -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.