Skip to content

Commit 604298e

Browse files
committed
fix: Use browserslist-config
We were installing browserslist-config but not declaring it. This had the effect that webpack - and likely others - were not using it.
1 parent f9d13c4 commit 604298e

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"type": "git",
77
"url": "git+https://github.com/edx/frontend-app-learner-dashboard.git"
88
},
9+
"browserslist": [
10+
"extends @edx/browserslist-config"
11+
],
912
"scripts": {
1013
"build": "fedx-scripts webpack",
1114
"i18n_extract": "fedx-scripts formatjs extract",
@@ -27,7 +30,6 @@
2730
},
2831
"dependencies": {
2932
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
30-
"@edx/browserslist-config": "^1.1.0",
3133
"@edx/frontend-component-header": "^5.6.0",
3234
"@edx/frontend-enterprise-hotjar": "7.1.0",
3335
"@edx/frontend-platform": "8.1.2",
@@ -68,6 +70,7 @@
6870
"util": "^0.12.4"
6971
},
7072
"devDependencies": {
73+
"@edx/browserslist-config": "^1.3.0",
7174
"@edx/reactifex": "^2.1.1",
7275
"@openedx/frontend-build": "14.2.0",
7376
"@testing-library/jest-dom": "^5.14.1",

0 commit comments

Comments
 (0)