-
Notifications
You must be signed in to change notification settings - Fork 46
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
fix: Use browserslist-config [Sumac backport] #380
Merged
arbrandes
merged 3 commits into
openedx:open-release/sumac.master
from
arbrandes:fix-browserslist-config-sumac
Dec 6, 2024
Merged
fix: Use browserslist-config [Sumac backport] #380
arbrandes
merged 3 commits into
openedx:open-release/sumac.master
from
arbrandes:fix-browserslist-config-sumac
Dec 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arbrandes
changed the title
fix: Use browserslist-config
fix: Use browserslist-config [backport]
Dec 5, 2024
arbrandes
force-pushed
the
fix-browserslist-config-sumac
branch
2 times, most recently
from
December 6, 2024 12:43
680c717
to
d249efe
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## open-release/sumac.master #380 +/- ##
===========================================================
Coverage 100.00% 100.00%
===========================================================
Files 111 111
Lines 1082 1082
Branches 159 159
===========================================================
Hits 1082 1082 ☔ View full report in Codecov by Sentry. |
arbrandes
changed the title
fix: Use browserslist-config [backport]
fix: Use browserslist-config [Sumac backport]
Dec 6, 2024
arbrandes
force-pushed
the
fix-browserslist-config-sumac
branch
4 times, most recently
from
December 6, 2024 14:00
3531389
to
7d1a6be
Compare
We were installing browserslist-config but not declaring it. This had the effect that webpack - and likely others - were not using it.
Declaring `browserslist` in package.json exposed a bug in the download.js tests that wasn't causing failures before (but arguably, should): one can't use arrow functions to mock constructors because calling `new` on them doesn't work. See the NOTE under: https://jestjs.io/docs/es6-class-mocks#-module-factory-function-must-return-a-function
Remove a file that was previously added by mistake.
arbrandes
force-pushed
the
fix-browserslist-config-sumac
branch
from
December 6, 2024 14:07
7d1a6be
to
3f5df84
Compare
brian-smith-tcril
approved these changes
Dec 6, 2024
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(This is a backport of #379 to Sumac.)
We were installing browserslist-config but not declaring it (as per the documentation and frontend-template-application). This had the effect that webpack - and likely others - were not using it.
For those curious, we discovered this by way of trying to get this to work: overhangio/tutor-indigo#109 (comment).