diff --git a/package-lock.json b/package-lock.json index d473d389d..bfcfd25eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20035,17 +20035,6 @@ "node": ">= 0.6" } }, - "node_modules/fraction.js": { - "version": "4.3.7", - "license": "MIT", - "engines": { - "node": "*" - }, - "funding": { - "type": "patreon", - "url": "https://github.com/sponsors/rawify" - } - }, "node_modules/fragment-cache": { "version": "0.2.1", "dev": true, @@ -27310,6 +27299,7 @@ }, "node_modules/normalize-range": { "version": "0.1.2", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -35558,7 +35548,6 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "autoprefixer": "^10.2.5", "css-loader": "^6.8.1", "css-minimizer-webpack-plugin": "^7.0.0", "mini-css-extract-plugin": "^2.9.1", @@ -35595,41 +35584,6 @@ "version": "2.0.1", "license": "Python-2.0" }, - "packages/dotcom-build-sass/node_modules/autoprefixer": { - "version": "10.4.20", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/autoprefixer" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "browserslist": "^4.23.3", - "caniuse-lite": "^1.0.30001646", - "fraction.js": "^4.3.7", - "normalize-range": "^0.1.2", - "picocolors": "^1.0.1", - "postcss-value-parser": "^4.2.0" - }, - "bin": { - "autoprefixer": "bin/autoprefixer" - }, - "engines": { - "node": "^10 || ^12 || >=14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, "packages/dotcom-build-sass/node_modules/cosmiconfig": { "version": "8.3.6", "license": "MIT", diff --git a/packages/dotcom-build-sass/package.json b/packages/dotcom-build-sass/package.json index dea3f73fd..cbe3d6541 100644 --- a/packages/dotcom-build-sass/package.json +++ b/packages/dotcom-build-sass/package.json @@ -21,7 +21,6 @@ "webpack": "5.x" }, "dependencies": { - "autoprefixer": "^10.2.5", "css-loader": "^6.8.1", "css-minimizer-webpack-plugin": "^7.0.0", "mini-css-extract-plugin": "^2.9.1", diff --git a/packages/dotcom-build-sass/src/index.ts b/packages/dotcom-build-sass/src/index.ts index a3a517ec7..f6fe8ac12 100644 --- a/packages/dotcom-build-sass/src/index.ts +++ b/packages/dotcom-build-sass/src/index.ts @@ -61,12 +61,6 @@ export class PageKitSassPlugin { // Allow @import of CSS files from node_modules // https://github.com/postcss/postcss-import require('postcss-import')(), - // Add vendor prefixes automatically using data from Can I Use - // https://github.com/postcss/autoprefixer - require('autoprefixer')(), - // Ensure that the final result is as small as possible. This can - // de-duplicate rule-sets which is useful if $o-silent-mode is toggled. - // https://github.com/cssnano/cssnano ] }, implementation: require('postcss')