This PR adds an improvement to the upgrade tool to make sure that if you pass a single CSS file, that the upgrade tool resolves all the imports in that file and processes them as well.
Test plan:
Created a project where index.css imports other.css. Another leave-me-alone.css is created to proof that this file is not changed. Running the upgrade guide using index.css also migrates other.css but not leave-me-alone.css.
Here is a video so you don't have to manually create it:
This PR adds an improvement to the upgrade tool to make sure that if you pass a single CSS file, that the upgrade tool resolves all the imports in that file and processes them as well.
Test plan:
Created a project where
index.css
importsother.css
. Anotherleave-me-alone.css
is created to proof that this file is not changed. Running the upgrade guide usingindex.css
also migratesother.css
but notleave-me-alone.css
.Here is a video so you don't have to manually create it:
https://github.com/user-attachments/assets/20decf77-77d2-4a7c-8ff1-accb1c77f8c1