wanted_modules icon indicating copy to clipboard operation
wanted_modules copied to clipboard

dart-sass

Open MarkTiedemann opened this issue 3 years ago • 4 comments

See https://github.com/sass/dart-sass/issues/1142

As a workaround, I wrote https://github.com/marktiedemann/deno-dart-sass which wraps their native CLI. Would prefer a JS version, though.

MarkTiedemann avatar Mar 29 '22 12:03 MarkTiedemann

See sass/dart-sass#1142

As a workaround, I wrote marktiedemann/deno-dart-sass which wraps their native CLI. Would prefer a JS version, though.

Have you tried deno-sass or just using the library from a npm cdn?

yavko avatar May 13 '22 20:05 yavko

this wasm version looks interesting https://deno.land/x/denosass

update: tried successfully, though actually so far only .css files 😅

CanRau avatar Jun 29 '22 02:06 CanRau

Have you tried deno-sass

Are you talking about https://deno.land/x/[email protected]?

The module description says "The library is not yet available on Windows", therefore it does not meet my requirements.

Also, the Rust crate that powers /x/sass, https://github.com/compass-rs/sass-rs, has a deprecation warning: "This crate is not maintained anymore as libsass is deprecated."

or just using the library from a npm cdn?

Last time I tried, neither esm.sh nor skypack.dev had a properly working build of https://www.npmjs.com/package/sass / dart-sass.

This might have changed in the meantime, I don't know.

In any case, it would still be great to have official Deno support from dart-sass.

this wasm version looks interesting https://deno.land/x/denosass

This module uses https://github.com/connorskees/grass internally which is "A near-feature-complete Sass compiler" with more than 2000 tests of the official Sass Spec failing... This also does not meet my requirements.

MarkTiedemann avatar Jun 29 '22 07:06 MarkTiedemann

That's a pity didn't know thanks for sharing So far it's sufficient for my use 😬🤞

CanRau avatar Jun 29 '22 08:06 CanRau