Commit 7d77804
authored
mark tailwindcss as a peer dependency
This plugin uses tailwindcss internally, but marks it only as a dev dependency rather than a peer dependency, causing errors/undefined behavior in monorepos and Yarn PNP. Correctly adding tailwind as a peer dependency allows for correct resolution to occur while still referencing the *user's* tailwind and not an internal version.
Other official plugins have already corrected this: see tailwindlabs/tailwindcss-forms@8a8671b
This pull request is identical to tailwindlabs/tailwindcss-line-clamp#6. Both other official plugins (forms, typography) already correctly use peer dependencies.1 parent 835eb1f commit 7d77804
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
0 commit comments