e468cf0122
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> |
||
---|---|---|
.github | ||
bin | ||
lib/src | ||
test | ||
tool | ||
.gitignore | ||
analysis_options.yaml | ||
buf.gen.yaml | ||
buf.work.yaml | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
pubspec.lock | ||
pubspec.yaml | ||
README.md |
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.
Development
To run the embedded compiler from source:
-
Run
dart pub get
. -
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.