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

Feature request: Sass compiler using dart-sass #884

Open
johncrim opened this issue Dec 30, 2019 · 0 comments
Open

Feature request: Sass compiler using dart-sass #884

johncrim opened this issue Dec 30, 2019 · 0 comments
Labels
General Enhancement New feature or request

Comments

@johncrim
Copy link

johncrim commented Dec 30, 2019

From the sass-lang.com web site: Dart Sass is the primary implementation of Sass, which means it gets new features before any other implementation

Dart Sass launched stable support for the new sass module system (@use + @forward ) and built-in modules several months ago. Angular now uses dart-sass primarily (but can fall back to node-sass if it's installed). Libsass still doesn't support these features.

With dart-sass now being the primary implementation, and new features being added to sass after a long quiet period, I think it would be ideal to be able to use dart-sass within Wyam.

My workaround right now is to run sass in parallel with Wyam. I'd be interested in working on this, but I don't know how contributions work given statiq's licensing.

I've tried a basic implementation of this, but ran into issues with Javascript modules when using the dart-sass js lib. A (more performant) alternative is to wrap the dart sass process, but that's probably a no-go due the virtual filesystem.

@daveaglick daveaglick added Discussion/Question Discussions or questions about the code General Enhancement New feature or request and removed Discussion/Question Discussions or questions about the code labels Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Enhancement New feature or request
Development

No branches or pull requests

2 participants