The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 03:37 UTC
| 1 | import tailwindcss from "@tailwindcss/vite"; |
| 2 | |
| 3 | export function tailwindPlugins(bundledDev: boolean) { |
| 4 | const plugins = tailwindcss(); |
| 5 | if (bundledDev) { |
| 6 | for (const plugin of plugins) { |
| 7 | // Rolldown lacks Vite ModuleNodes/server; bundled dev rebuilds from addWatchFile dependencies instead. |
| 8 | delete plugin.hotUpdate; |
| 9 | } |
| 10 | } |
| 11 | return plugins; |
| 12 | } |