tailwindcss/integrations
Robin Malfait fb1731a2de
Inject @config "..." when a tailwind.config.{js,ts,...} is detected (#14635)
This PR injects a `@config "…"` in the CSS file if a JS based config has
been found.

We will try to inject the `@config` in a sensible place:
1. Above the very first `@theme`
2. If that doesn't work, below the last `@import`
3. If that doesn't work, at the top of the file (as a last resort)
2024-10-10 14:02:42 +00:00
..
cli Fix rebuilds when editing imported CSS files (#14561) 2024-10-01 11:52:12 +00:00
postcss Improve @tailwindcss/postcss performance for initial builds (#14565) 2024-10-03 16:21:54 +02:00
upgrade Inject @config "..." when a tailwind.config.{js,ts,...} is detected (#14635) 2024-10-10 14:02:42 +00:00
vite Add integration tests for multi-root builds (#14564) 2024-10-01 17:00:20 +02:00
package.json Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
utils.ts Inject @config "..." when a tailwind.config.{js,ts,...} is detected (#14635) 2024-10-10 14:02:42 +00:00