From b2dd6ffa4284ac52deb948079cde0272b0260b69 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 25 Mar 2022 09:46:23 -0400 Subject: [PATCH] Remove autoprefixer as peer-dependency (#7949) * Remove autoprefixer as peer-dependency * Update lock file * Update changelog --- CHANGELOG.md | 1 + package-lock.json | 1 - package.json | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a181ef8c073..6b982cf18f40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Don't output unparsable arbitrary values ([#7789](https://github.com/tailwindlabs/tailwindcss/pull/7789)) - Fix generation of `div:not(.foo)` if `.foo` is never defined ([#7815](https://github.com/tailwindlabs/tailwindcss/pull/7815)) - Allow for custom properties in `rgb`, `rgba`, `hsl` and `hsla` colors ([#7933](https://github.com/tailwindlabs/tailwindcss/pull/7933)) +- Remove autoprefixer as explicit peer-dependency to avoid invalid warnings in situations where it isn't actually needed ([#7949](https://github.com/tailwindlabs/tailwindcss/pull/7949)) ### Changed diff --git a/package-lock.json b/package-lock.json index 9ec68f91859e..2468ecb7fac9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,6 @@ "node": ">=12.13.0" }, "peerDependencies": { - "autoprefixer": "^10.0.2", "postcss": "^8.0.9" } }, diff --git a/package.json b/package.json index 5316e8c22b6a..f98d861da653 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "source-map-js": "^1.0.2" }, "peerDependencies": { - "autoprefixer": "^10.0.2", "postcss": "^8.0.9" }, "dependencies": {