sass-embedded-go
v1.104.0
Published
sass-embedded-compatible host API backed by the go-sass embedded compiler.
Downloads
417
Readme
sass-embedded-go
The sass-embedded host API
backed by the go-sass embedded compiler —
a drop-in replacement that compiles with Go instead of Dart.
Install
npm install sass-embedded-goUsage
import { compileString } from "sass-embedded-go";
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).
