Release Notes
Added
- wasm: source maps. The
@momiji-rs/sasso package's compile(scss, { sourceMap: true [, sourceMapIncludeSources: true] }) now returns
{ css, sourceMap } (the v3 map as a parsed object) instead of a bare CSS
string; without sourceMap it still returns the string (backwards
compatible). New sasso_compile_map export returns a framed [u32 css_len][css] [map json] buffer. Source maps are now exposed on every surface (lib, CLI,
wasm).
Fixed
- Compressed source maps now emit one segment per source line, matching
dart-sass (compressed packs many tokens onto a line; dart maps only the first
per source line). Expanded maps are unchanged. The map's CSS is unaffected.
Install sasso 0.5.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/momiji-rs/sasso/releases/download/v0.5.0/sasso-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/momiji-rs/sasso/releases/download/v0.5.0/sasso-installer.ps1 | iex"
Download sasso 0.5.0