Skip to content

Commit 8ece70c

Browse files
committed
Add support for Tailwind CSS 2.0
This change adds support for Tailwind CSS v2.0. Before this change, your package manager of choice would complain about an unmet peer dependency if it was used it with Tailswind CSS 2 or newer. The blog post and the upgrade guide do not mention any changes for plugins, I also verified the functionality in a project of mine. Everything still works as expected as far as I can see. :) https://blog.tailwindcss.com/tailwindcss-v2 https://tailwindcss.com/docs/upgrading-to-v2
1 parent a0b27a9 commit 8ece70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"homepage": "https://github.com/jorenvanhee/tailwindcss-debug-screens",
1313
"bugs": "https://github.com/jorenvanhee/tailwindcss-debug-screens/issues",
1414
"peerDependencies": {
15-
"tailwindcss": "^1.0"
15+
"tailwindcss": "^1.0 || ^2.0"
1616
}
1717
}

0 commit comments

Comments
 (0)