tailwindcss/packages/@tailwindcss-upgrade/src
Robin Malfait c095071f22
Skip .css files when migrating templates (#17854)
This PR fixes an issue where the upgrade tool also migrates `.css` files
as-if they are content files. This is not the intended behavior.

## Test plan

Ran this on my personal website. 

Before:
<img width="1316" alt="image"
src="https://github.com/user-attachments/assets/2b7337c6-7b88-4811-911f-139ab2e31b3b"
/>

After: 
<img width="1046" alt="image"
src="https://github.com/user-attachments/assets/55f09355-37cb-419b-9924-973cf2681c1d"
/>
2025-05-03 00:48:45 +02:00
..
codemods Design system driven upgrade migrations (#17831) 2025-05-02 23:18:06 +02:00
commands/help Add initial codemod tooling (#14434) 2024-09-18 16:45:43 +02:00
utils Design system driven upgrade migrations (#17831) 2025-05-02 23:18:06 +02:00
index.test.ts Ensure @tailwindcss/upgrade runs on Tailwind CSS v4 projects and is idempotent (#17717) 2025-04-22 11:10:46 -04:00
index.ts Skip .css files when migrating templates (#17854) 2025-05-03 00:48:45 +02:00
stylesheet.ts Ensure @tailwindcss/upgrade runs on Tailwind CSS v4 projects and is idempotent (#17717) 2025-04-22 11:10:46 -04:00