andreyfedoseev / django-static-precompiler

Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.
Other
222 stars 60 forks source link

Add Dart Sass support #146

Closed Kasperror closed 1 year ago

Kasperror commented 2 years ago

Might be a huge improvement and a rebirth to this package since Dart Sass is now the official version. I haven't done enough research but it actually might come down to defining cli interface mapping from the current one.

Can create PR but in the future cuz as for now im just a Sass beginner.

For anyone who just wants to use basic compilation using Dart Sass, removing "--sourcemap={0}".format("auto" if self.is_sourcemap_enabled else "none"), scss.py /74

seems to solve the problem with StaticCompilerError

andreyfedoseev commented 1 year ago

Duplicate of #148

I'm closing this one as a duplicate, even though it was submitted earlier.