diff --git a/package-lock.json b/package-lock.json index d136f4b2..f573f7aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 10c8109e..b9c3cc05 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/postcss.config.js b/src/postcss.config.js deleted file mode 100644 index 71d41ef9..00000000 --- a/src/postcss.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/* I'm here to allow autoprefixing in webpack.prod.config.js */ -module.exports = { - plugins: [ - require('autoprefixer')({ grid: true, browsers: ['>1%'] }), - ], -}; -