tailwindcss/packages
Blake V. 5a94f81e7e
Use default export condition for @tailwindcss/vite (#18948)
## Summary

In `@tailwindcss/vite` 's `package.json`, change the `exports` key from
`include` to `default` since there is no `require` case.

Ran into an issue using the `tsx` package to run a script that has a
sub-dependency that imports from `@tailwindcss/vite`, where `tsx`
converts things to cjs to run, and since there is no `require` case for
this package, it can't find the file. Changing to `default` covers the
cases for both `import` and `require`.

## Test plan

No testing needed. Functionality is the same.

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2025-09-16 15:04:13 -04:00
..
@tailwindcss-browser Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-cli Fix CLI watcher cleanup race (#18905) 2025-09-09 17:14:09 +02:00
@tailwindcss-node Show Lightning CSS warnings when optimizing/minifying in production (#18918) 2025-09-12 12:27:23 +02:00
@tailwindcss-postcss Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-standalone Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-upgrade Do not migrate variant = 'outline' during upgrades (#18922) 2025-09-12 09:20:18 +00:00
@tailwindcss-vite Use default export condition for @tailwindcss/vite (#18948) 2025-09-16 15:04:13 -04:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Proposal: Allow overwriting static utilities that have a namespace (#18056) 2025-09-11 12:21:50 +02:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00