tailwindcss/crates/node
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
..
.cargo Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
npm Release v4.0.0-alpha.25 (#14507) 2024-09-24 17:03:00 +00:00
src Add setup for template migrations (#14502) 2024-09-25 16:20:14 +02:00
.gitignore Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
.npmignore Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
build.rs Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
Cargo.toml Improve @tailwindcss/postcss performance for initial builds (#14565) 2024-10-03 16:21:54 +02:00
package.json Release v4.0.0-alpha.25 (#14507) 2024-09-24 17:03:00 +00:00
rustfmt.toml Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00