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
Support for sass modules #55
Comments
By "plan", do you mean something more concrete than a wish/todo list? ;) Off-hand, implementing |
it is indeed non-trivial. And currently, libsass does not have support for it yet either (only the reference implementation dart-sass has it for now). Non-support in libsass might still be considered as a blocker for now by many projects, due to node-sass (the libsass binding) being used a lot more than sass (the dart-sass JS distribution) for projects managing their tooling via npm (see https://www.npmtrends.com/node-sass-vs-sass). But the trend seems to be in favor of dart-sass (node-sass having lots of existing projects which haven't switched their implementation just because dart-sass is released). |
Definitely a huge re-work of ScssPHP will be needed. |
Any updates on this? Thank you! |
@phuclh this won't happen in 1.x. The code of scssphp is too messy (and too far from being spec compliant) to add modules in it. The work on 2.0 is in progress, rewriting the compiler based on the dart-sass code, bringing us to spec compliance. Once this is done (no ETA as I'm doing that on my free time), supporting modules will be the next big work (so probably coming in 2.1.0 or 2.2.0). |
Thank you for quick response and good to know you are working on the version 2 😊. |
Modules are the new way of organizing sass files, current available in dart-sass. See http://sass.logdown.com/posts/7858341-the-module-system-is-launched for the announcement.
Is there any plan for implementing them in scssphp ?
The text was updated successfully, but these errors were encountered: