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

feat: support dart-sass as default sass implementation #3321

Merged
merged 4 commits into from
Jan 28, 2019

Conversation

haoqunjiang
Copy link
Member

@haoqunjiang haoqunjiang commented Jan 17, 2019

closes #1782

  1. sass + fibers combined is ~10MiB smaller than the node-sass package, and approximately 1.5x slower in performance (perf report, and with fibers there's a 2x speedup)
  2. It's the future of sass

TODOs in this PR:

  1. Should add tests
  2. This PR uses a try ... catch block to test if sass package can be resolved and default to it. Should we make it more explicit? How?

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

Successfully merging this pull request may close these issues.

Dart Sass support as a stylesheet preprocessor option
1 participant