From c619606597d9f1b00a5493a0647a0f0a96a5dc4b Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 25 Mar 2022 09:37:39 -0400 Subject: [PATCH 1/3] Remove autoprefixer as peer-dependency --- package.json | 1 - 1 file changed, 1 deletion(-) 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": { From 371c4a45de86837cf56c4f6550b89f4e00db8a8d Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 25 Mar 2022 09:40:40 -0400 Subject: [PATCH 2/3] Update lock file --- package-lock.json | 1 - 1 file changed, 1 deletion(-) 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" } }, From bda9db854e47324002ed04aa018b234fc174c458 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 25 Mar 2022 09:41:33 -0400 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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