Go to file
dependabot[bot] e468cf0122
Bump meta from 1.8.0 to 1.9.0 (#144)
Bumps [meta](https://github.com/dart-lang/sdk/tree/main/pkg) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/dart-lang/sdk/releases)
- [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/sdk/commits/1.9.0/pkg)

---
updated-dependencies:
- dependency-name: meta
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 00:47:31 +00:00
.github Add missing setup-dart step in qemu release (#147) 2023-02-09 17:56:24 -08:00
bin Do not throw ProtocolErrorType.PARAMS for custom functions and importers (#118) 2022-12-08 12:07:54 -08:00
lib/src Fix dart analyze issues (#135) 2022-12-28 00:21:41 +00:00
test Do not throw ProtocolErrorType.PARAMS for custom functions and importers (#118) 2022-12-08 12:07:54 -08:00
tool Use buf instead of protoc to compile protobufs (#146) 2023-02-08 17:30:05 -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
buf.gen.yaml Use buf instead of protoc to compile protobufs (#146) 2023-02-08 17:30:05 -08:00
buf.work.yaml Use buf instead of protoc to compile protobufs (#146) 2023-02-08 17:30:05 -08:00
CHANGELOG.md Release 1.58.0 (#142) 2023-02-01 15:44:20 -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 Bump meta from 1.8.0 to 1.9.0 (#144) 2023-02-14 00:47:31 +00:00
pubspec.yaml Release 1.58.0 (#142) 2023-02-01 15:44:20 -08:00
README.md Use buf instead of protoc to compile protobufs (#146) 2023-02-08 17:30:05 -08: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.

Development

To run the embedded compiler from source:

  • Run dart pub get.

  • Install buf.

  • Run dart run grinder protobuf.

From there, you can either run dart bin/dart_sass_embedded.dart directly or dart run grinder pkg-standalone-dev to build a compiled development executable.

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.