-
Notifications
You must be signed in to change notification settings - Fork 23
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
Updated Sass version to 1.61.0 #31
Conversation
Hi @azizk, thanks for the PR! Can you please revert any changes other than those required to get dart_sass running on Linux again? That will make it much easier to review, thanks! If it's easier to close this PR and open a new one, that is fine too :) |
Sure, np! 😀 |
Hey @mcrumm, I extracted the unrelated refactorings from this branch and I'll make a different PR for those. Hope it's easier to review now. 🙂 |
Hi @mcrumm, hope you're not too busy. Any chance this can be merged in today or tomorrow? Thanks! 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @azizk! Just one small change and we can
* Added check: versions must be higher than 1.57.1 on Linux. * Renamed bin_path() to bin_paths(). * Renamed cmd() to run_cmd(). * Renamed path_exists?() to paths_exist?(). * Renamed bin_path(platform, base_path) to dest_bin_paths(...) and moved function to the top.
🍬 🍬 🍬 🍬 🍬 |
The Linux package structure has changed and also has two binaries in the
src/
folder now.dart-sass
1.57.1 was the last version that you could configure for:dart_sass
on Linux.With my changes you can use newer versions, but you won't be able to use earlier versions anymore.
I refactored the code somewhat for improvements and better readability. I'll revert specific changes if you don't like some. 🙂