Commit baff803
committed
Fix "Update Tailwind" action
`tailwindcss-cli build` chokes on `require('tailwindcss/defaultTheme')`
in tailwind.config.js added by 53089c1.
Example failure: https://github.com/rails/tailwindcss-rails/runs/1725407564.
`tailwind build`, which is invoked by `yarn build`, handles this
properly. Running `yarn upgrade tailwindcss` beforehand ensures that
the `tailwind build` command is installed, and updates the Tailwind
version in yarn.lock to match the built tailwind.css.1 parent 1777975 commit baff803
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | | - | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments