Skip to content

Skip .css files when migrating templates #17854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented May 2, 2025

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:
image

After:
image

We recently started scanning `.css` files to extract CSS variables. But
this also means that we are considering `.css` files as content/source
files and that's not what we want.
@RobinMalfait RobinMalfait requested a review from a team as a code owner May 2, 2025 22:34
@RobinMalfait RobinMalfait merged commit c095071 into main May 2, 2025
7 checks passed
@RobinMalfait RobinMalfait deleted the fix/skip-css-files branch May 2, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants