tailwindcss/packages/@tailwindcss-postcss/src
Philipp Spiess ab8972749c
Postcss: Bring back proper type exports (#14256)
Closes #14253

Since we changed the export strategy for the postcss client in #14132,
we accidentally no longer generated type exports for this package.

This PR adds a type export back. We now use a similar pattern to the
`./colors` and `./defaultTheme` exports in the tailwindcss package where
we have a separate cjs entrypoint.

The changes were validated manually in a playground project that were
installing the updated dependencies from tarballs.

Here is one example of it working as expected:
 
<img width="750" alt="Screenshot 2024-08-26 at 14 10 07"
src="https://github.com/user-attachments/assets/83de15f2-1543-4805-9231-9b8df1636c5e">
2024-08-26 15:54:07 +02:00
..
__snapshots__ Remove cursor override for :disabled buttons (#14061) 2024-07-29 10:10:15 -04:00
fixtures/example-project Add @source support (#14078) 2024-08-07 16:38:44 +02:00
index.cts Postcss: Bring back proper type exports (#14256) 2024-08-26 15:54:07 +02:00
index.test.ts Improve Oxide scanner API (#14187) 2024-08-16 15:05:42 +02:00
index.ts Postcss: Bring back proper type exports (#14256) 2024-08-26 15:54:07 +02:00