-
-
Notifications
You must be signed in to change notification settings - Fork 430
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
perf: prefer sass-embedded
if available
#1211
perf: prefer sass-embedded
if available
#1211
Conversation
58b967c
to
1ddc100
Compare
1ddc100
to
78e1d9d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1211 +/- ##
==========================================
- Coverage 94.44% 94.17% -0.27%
==========================================
Files 3 3
Lines 360 412 +52
Branches 132 155 +23
==========================================
+ Hits 340 388 +48
- Misses 18 22 +4
Partials 2 2 ☔ View full report in Codecov by Sentry. |
The uncovered lines are not new, and don't seem to be easily covered as jest makes it a lot of work to mock |
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.
This looks good.
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.
Sorry, we can't merge it right now, because it is a breaking change, I want t have a little bit more time to test sass-embedded
in the wild, but I am fine with such changes
Oh, looks like we need to do it due #1210, thank you |
83423ff
into
webpack-contrib:master
This PR contains a:
Motivation / Use-Case
The Sass team considers
sass-embedded
to be stable and production-ready, so by preferring it oversass
developers can useoptionalDependencies
to take advantage of the more performant variant whenever possible without having to explicitly determine that for themselves.Resolves #1180
Resolves #1210
Breaking Changes
My understanding is that
sass-embedded
is a drop-in replacement, meaning this should not be a breaking change, though would appreciate input from @nex3 to confirm this is true enough to make this technically-not-breaking