LibSassHost
LibSassHost copied to clipboard
Sass Modules Support
Hi,
does LibSassHost support Sass Modules?
@use 'sass:math';
Thanks!
Hello!
At the moment, the original library does not support modules and is considered deprecated. I also recommend reading the “LibSass is Deprecated” article.
Keep an eye on the Dart Sass Host project for now. I plan to make a preview release of the library within a month.
Hello!
At the moment, the original library does not support modules and is considered deprecated. I also recommend reading the “LibSass is Deprecated” article.
Keep an eye on the Dart Sass Host project for now. I plan to make a preview release of the library within a month.
Will you support Sass modules then? Also, any chance of supporting compilation at runtime for .net 5 web projects like LigerShark.WebOptimizer.Sass Project does? It would be so awesome! LigerShark works very well but unfortunately does not support Sass modules as well :(
Will you support Sass modules then?
DartSassHost library is based on the Node.js-version of Dart Sass and accordingly supports modules.
Also, any chance of supporting compilation at runtime for .net 5 web projects like LigerShark.WebOptimizer.Sass Project does?
No. DartSassHost, as well as the LibSassHost, is a general-purpose library. But nothing prevents you from implementing such functionality yourself.
Will you support Sass modules then?
DartSassHost library is based on the Node.js-version of Dart Sass and accordingly supports modules.
Also, any chance of supporting compilation at runtime for .net 5 web projects like LigerShark.WebOptimizer.Sass Project does?
No. DartSassHost, as well as the LibSassHost, is a general-purpose library. But nothing prevents you from implementing such functionality yourself.
Can I use Dart Sass right now for tests or it's still not ready? Went there but didn't quite understand how to setup it up.
Can I use Dart Sass right now for tests or it's still not ready?
It's not ready yet. When I make a preview release, I will let you know.
Dart Sass Host 1.0.0 Preview 1 has been released.
Wow, really happy with this release. Going to test it ASAP! :) Thanks!