tailwindcss/packages
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
..
@tailwindcss-cli Prepare v4.0.0-alpha.20 (#14244) 2024-08-23 15:51:53 +02:00
@tailwindcss-postcss Postcss: Bring back proper type exports (#14256) 2024-08-26 15:54:07 +02:00
@tailwindcss-vite Prepare v4.0.0-alpha.20 (#14244) 2024-08-23 15:51:53 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
internal-postcss-fix-relative-paths Bump dependencies (#14160) 2024-08-09 16:12:24 +02:00
tailwindcss Postcss: Bring back proper type exports (#14256) 2024-08-26 15:54:07 +02:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00