tailwindcss/integrations
Robin Malfait 35b84cc313
Improve @tailwindcss/postcss performance for initial builds (#14565)
This PR improves the performance of the `@tailwindcss/postcss` plugin.
Before this change we created 2 compiler instances instead of a single
one. On a project where a `tailwindcss.config.ts` file is used, this
means that the timings look like this:

```
[@tailwindcss/postcss] Setup compiler: 137.525ms
⋮
[@tailwindcss/postcss] Setup compiler: 43.95ms
```

This means that with this small change, we can easily shave of ~50ms for
initial PostCSS builds.

---------

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2024-10-03 16:21:54 +02: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 Migrate at-apply utilites with template migrations (#14574) 2024-10-03 09:35:28 -04: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 Only run Ubuntu tests on feature branches (#14560) 2024-10-01 13:45:52 +02:00