dart-sass-embedded

所属分类:hotest
开发工具:Dart
文件大小:0KB
下载次数:0
上传日期:2023-05-15 22:21:22
上 传 者sh-1993
说明:  实现Embedded Sass协议的编译器端的Dart Sass包装器
(A wrapper for Dart Sass that implements the compiler side of the Embedded Sass protocol)

文件列表:
CHANGELOG.md (91811, 2023-05-15)
CODE_OF_CONDUCT.md (536, 2023-05-15)
CONTRIBUTING.md (1548, 2023-05-15)
LICENSE (1055, 2023-05-15)
analysis_options.yaml (92, 2023-05-15)
bin/ (0, 2023-05-15)
bin/dart_sass_embedded.dart (6004, 2023-05-15)
buf.gen.yaml (51, 2023-05-15)
buf.work.yaml (51, 2023-05-15)
lib/ (0, 2023-05-15)
lib/src/ (0, 2023-05-15)
lib/src/dispatcher.dart (9485, 2023-05-15)
lib/src/function_registry.dart (1197, 2023-05-15)
lib/src/host_callable.dart (2199, 2023-05-15)
lib/src/importer/ (0, 2023-05-15)
lib/src/importer/base.dart (1092, 2023-05-15)
lib/src/importer/file.dart (2146, 2023-05-15)
lib/src/importer/host.dart (2511, 2023-05-15)
lib/src/logger.dart (2839, 2023-05-15)
lib/src/protofier.dart (16100, 2023-05-15)
lib/src/util/ (0, 2023-05-15)
lib/src/util/length_delimited_transformer.dart (5380, 2023-05-15)
lib/src/utils.dart (2651, 2023-05-15)
lib/src/value.dart (7120, 2023-05-15)
pubspec.lock (16746, 2023-05-15)
pubspec.yaml (804, 2023-05-15)
test/ (0, 2023-05-15)
test/dependencies_test.dart (1036, 2023-05-15)
test/embedded_process.dart (6755, 2023-05-15)
test/file_importer_test.dart (10069, 2023-05-15)
test/function_test.dart (71378, 2023-05-15)
test/importer_test.dart (19472, 2023-05-15)
test/length_delimited_test.dart (3649, 2023-05-15)
test/protocol_test.dart (18458, 2023-05-15)
... ...

**This is no longer the repository for Embedded Dart Sass.** The embedded compiler has been merged into [the primary Dart Sass repository], and further releases will be included [as part of Dart Sass itself]. The embedded compiler can be accessed by running `sass --embedded`. [the primary Dart Sass repository]: https://github.com/sass/dart-sass [as part of Dart Sass itself]: https://github.com/sass/dart-sass#embedded-dart-sass ## 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. [Dart Sass]: https://sass-lang.com/dart-sass [Embedded Sass protocol]: https://github.com/sass/sass-embedded-protocol/blob/master/README.md#readme ### 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. [Install `buf`]: https://docs.buf.build/installation ### 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. [GitHub release page]: https://github.com/sass/dart-sass-embedded/releases Disclaimer: this is not an official Google product.

近期下载者

相关文件


收藏者