sass-embedded-rust
v1.104.0
Published
sass-embedded-compatible host API backed by the rust-sass embedded compiler.
Readme
sass-embedded-rust
The sass-embedded host API
backed by the rust-sass embedded compiler —
a drop-in replacement that compiles with Rust instead of Dart.
Install
npm install sass-embedded-rustUsage
import { compileString } from "sass-embedded-rust";
compileString("a {b: 1px + 2px}").css;The API is identical to sass-embedded (same exports and types), only the
compiler binary differs. Both packages can be imported in one process without
interference.
Versioning
Version tracks dart-sass (1.104.0,
protocol 3.2.0).
Links
- Repository (compiler source).
- Architecture and build docs.
License
MIT. Host code is © Google LLC (MIT).
