Deraen / sass4clj

SASS compiler for Clj, Lein and Boot, using Libsass Java wrapper
70 stars 16 forks source link

libsass is deperecated #35

Closed tomekw closed 4 years ago

tomekw commented 4 years ago

See: https://sass-lang.com/blog/libsass-is-deprecated

I presume there could be a CLJS library using the JS API: https://github.com/sass/dart-sass/blob/master/README.md#javascript-api

Deraen commented 4 years ago

The whole idea here is that sass4clj runs on JVM and can access classpath.

Looks like sass-embedded will allow custom importers (and thus accessing classpath) later.

Anyway, I don't think loading dependencies from classpath is that useful now. If one is using Shadow-cljs, it is easier to just use npm to load regular sass and dependecies.

I'l probably add notice to readme mentioning sass4clj is built on top of deprecated lib and recommend just using regular dart-sass from npm.

tomekw commented 4 years ago

Thanks! :)