build: use shared browserslist config

This commit is contained in:
Leangseu Kim
2023-01-04 16:00:36 -05:00
committed by leangseu-edx
parent ecceda2343
commit 456edd453e
3 changed files with 15 additions and 10 deletions

13
package-lock.json generated
View File

@@ -48,6 +48,7 @@
"whatwg-fetch": "^2.0.4"
},
"devDependencies": {
"@edx/browserslist-config": "^1.1.1",
"@edx/frontend-build": "^12.4.15",
"axios": "0.21.2",
"axios-mock-adapter": "^1.17.0",
@@ -1899,6 +1900,12 @@
"resolved": "https://registry.npmjs.org/@edx/brand-edx.org/-/brand-edx.org-1.6.1.tgz",
"integrity": "sha512-GTddzcmQwBn30s4dBPKPbuvJAYERF3YW+B0yo9LNPvyRpQjI2dOfOsnzCuqroqDh72lEK+PFtVAEYTH9mu1Zjg=="
},
"node_modules/@edx/browserslist-config": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@edx/browserslist-config/-/browserslist-config-1.1.1.tgz",
"integrity": "sha512-baLX2wxguWNXLIAi26l/iUIJoI9T8LVDH+8+3xP3HjFtWSCOVjz19sgxx4PlWwwMkbUkVmfuxrm2XVueqI6xLw==",
"dev": true
},
"node_modules/@edx/eslint-config": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@edx/eslint-config/-/eslint-config-3.1.1.tgz",
@@ -33662,6 +33669,12 @@
"resolved": "https://registry.npmjs.org/@edx/brand-edx.org/-/brand-edx.org-1.6.1.tgz",
"integrity": "sha512-GTddzcmQwBn30s4dBPKPbuvJAYERF3YW+B0yo9LNPvyRpQjI2dOfOsnzCuqroqDh72lEK+PFtVAEYTH9mu1Zjg=="
},
"@edx/browserslist-config": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@edx/browserslist-config/-/browserslist-config-1.1.1.tgz",
"integrity": "sha512-baLX2wxguWNXLIAi26l/iUIJoI9T8LVDH+8+3xP3HjFtWSCOVjz19sgxx4PlWwwMkbUkVmfuxrm2XVueqI6xLw==",
"dev": true
},
"@edx/eslint-config": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@edx/eslint-config/-/eslint-config-3.1.1.tgz",

View File

@@ -25,9 +25,7 @@
"access": "public"
},
"browserslist": [
"last 2 versions",
"not ie > 0",
"not ie_mob > 0"
"extends @edx/browserslist-config"
],
"dependencies": {
"@edx/brand": "npm:@edx/brand-edx.org@^1.3.2",
@@ -69,6 +67,7 @@
"whatwg-fetch": "^2.0.4"
},
"devDependencies": {
"@edx/browserslist-config": "^1.1.1",
"@edx/frontend-build": "^12.4.15",
"axios": "0.21.2",
"axios-mock-adapter": "^1.17.0",

View File

@@ -1,7 +0,0 @@
/* I'm here to allow autoprefixing in webpack.prod.config.js */
module.exports = {
plugins: [
require('autoprefixer')({ grid: true, browsers: ['>1%'] }),
],
};