Skip to content

Commit 0341352

Browse files
committed
chore: support majorVersion 2 and 3
1 parent 3639264 commit 0341352

File tree

3 files changed

+23
-40
lines changed

3 files changed

+23
-40
lines changed

packages/tailwindcss-patch/src/core/patcher.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class TailwindcssPatcher {
188188
if (output && tailwindcss) {
189189
const { filename, loose } = output
190190

191-
if (this.majorVersion === 3) {
191+
if (this.majorVersion === 3 || this.majorVersion === 2) {
192192
await processTailwindcss({
193193
...tailwindcss,
194194
majorVersion: this.majorVersion,

pnpm-lock.yaml

+19-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"types:check": "tsc --noEmit"
1818
},
1919
"dependencies": {
20-
"markdown-to-jsx": "^7.4.0",
20+
"markdown-to-jsx": "^7.7.4",
2121
"next": "^15.1.7",
22-
"nextra": "^4.2.12",
23-
"nextra-theme-docs": "^4.2.12",
22+
"nextra": "^4.2.13",
23+
"nextra-theme-docs": "^4.2.13",
2424
"react": "19.0.0",
2525
"react-dom": "19.0.0",
2626
"react-intersection-observer": "^9.15.1"

0 commit comments

Comments
 (0)