Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass Modules Support #48

Closed
HybridSolutions opened this issue Jul 9, 2021 · 8 comments
Closed

Sass Modules Support #48

HybridSolutions opened this issue Jul 9, 2021 · 8 comments

Comments

@HybridSolutions
Copy link

Hi,

does LibSassHost support Sass Modules?

@use 'sass:math';

Thanks!

@Taritsyn
Copy link
Owner

Taritsyn commented Jul 9, 2021

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.

@HybridSolutions
Copy link
Author

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 :(

@Taritsyn
Copy link
Owner

Taritsyn commented Jul 9, 2021

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.

@HybridSolutions
Copy link
Author

HybridSolutions commented Jul 9, 2021

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.

@Taritsyn
Copy link
Owner

Taritsyn commented Jul 9, 2021

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.

@Taritsyn
Copy link
Owner

Taritsyn commented Jul 22, 2021

Dart Sass Host 1.0.0 Preview 1 has been released.

@HybridSolutions
Copy link
Author

Wow, really happy with this release. Going to test it ASAP! :) Thanks!

@Taritsyn
Copy link
Owner

Hello!

First stable release of the Dart Sass Host was released yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants