-
Notifications
You must be signed in to change notification settings - Fork 918
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
[Manual Backport 2.x] Replace node-sass
with sass-embedded
(#5338)
#5593
Conversation
node-sass
with sass-embedded
(#5338)node-sass
with sass-embedded
(#5338)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #5593 +/- ##
==========================================
- Coverage 66.98% 66.94% -0.04%
==========================================
Files 3287 3287
Lines 63266 63266
Branches 10052 10052
==========================================
- Hits 42378 42355 -23
- Misses 18449 18518 +69
+ Partials 2439 2393 -46
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
da2d34a
to
6e426cb
Compare
* Dart's `sass` uses a lot more memory that `node-sass` which causes failures with CI on Windows when building platform plugins: pagefile size was bumped. Signed-off-by: Miki <miki@amazon.com> (cherry picked from commit f822702) Signed-off-by: Miki <miki@amazon.com>
6e426cb
to
110c5bf
Compare
CHANGELOG seems to have the entry needed; skipping the workflow for it. |
node-sass
with sass-embedded
(#5338)node-sass
with sass-embedded
(#5338)
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.
@AMoo-Miki Mostly looks good to me. My only hesitation is about the OUI version bump to a non-released version. Is that strictly necessary here?
"@elastic/eui": "npm:@opensearch-project/oui@1.3.0", | ||
"@elastic/eui": "npm:@opensearch-project/oui@1.4.0-alpha.2", |
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.
I don't think we want alpha versions in 2.x
branch? In main
it makes sense, but we should keep 2.x
releasable.
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.
plus 1, maybe just keep it in main for now
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 is temporary until OUI 1.4 is released.
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.
Yeah, but it makes the 2.x branch unreleasable, which I thought we wanted to avoid.
@@ -27,7 +27,7 @@ | |||
"del": "^6.1.1", | |||
"getopts": "^2.2.5", | |||
"pegjs": "0.10.0", | |||
"sass-loader": "npm:@amoo-miki/sass-loader@10.4.1-node-sass-9.0.0-libsass-3.6.5", | |||
"sass-loader": "npm:@amoo-miki/sass-loader@10.4.1-node-sass-9.0.0-libsass-3.6.5-with-sass-embedded.rc1", |
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 patch is getting increasingly gross 🤢
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.
since it's an npm fork, can we give it a more friendly name, also are we able to keep sass-loader
up to date since the official one is already at 13.3.2
https://github.com/webpack-contrib/sass-loader/tree/v13.3.2, it might cause future troubles in case we need to bump sass-loader
version down the road
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.
@ZilongX we can only use sass-loader@9 with our ancient webpack@4.
Replace node-sass with sass-embedded #5338
sass
uses a lot more memory thatnode-sass
which causes failures with CI on Windows when building platform plugins: pagefile size was bumped.(cherry picked from commit f822702)