Skip to content

Commit 23661cf

Browse files
Temporarily move postcss to dependencies (#7424)
* Temporarily move postcss to dependencies This is unfortunate but upgrading postcss-js caused postcss to not be installed at all. This is fine except in this case of NPM <= 6 when running npx tailwindcss init, or yarn v1, or npm 7/8 with legacy peer deps behavior and doing a similar thing. Deduping will still allow the user to install postcss and upgrade it and Tailwind CSS will pick it up. A more permanent solution may involve hijacking require or something similar. * Update changelog
1 parent 9f119e5 commit 23661cf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Temporarily move postcss to dependencies ([#7424](https://github.com/tailwindlabs/tailwindcss/pull/7424))
1113

1214
## [3.0.21] - 2022-02-10
1315

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"eslint-plugin-prettier": "^4.0.0",
5151
"jest": "^27.4.7",
5252
"jest-diff": "^27.4.6",
53-
"postcss": "^8.4.6",
5453
"prettier": "^2.5.1",
5554
"prettier-plugin-tailwindcss": "^0.1.7",
5655
"rimraf": "^3.0.0"
@@ -73,6 +72,7 @@
7372
"is-glob": "^4.0.3",
7473
"normalize-path": "^3.0.0",
7574
"object-hash": "^2.2.0",
75+
"postcss": "^8.4.6",
7676
"postcss-js": "^4.0.0",
7777
"postcss-load-config": "^3.1.0",
7878
"postcss-nested": "5.0.6",

0 commit comments

Comments
 (0)