-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Feat: Adding a warning in the upgrade CLI when a config file contains non-migratable values. #16113
base: main
Are you sure you want to change the base?
Feat: Adding a warning in the upgrade CLI when a config file contains non-migratable values. #16113
Conversation
@baptisthecht Thanks! It would be good if we can add some warnings to the other cases where we opt-out of migrating to a CSS file as well and add a quick test to ensure this works. Would you be interested to take a stab at this? |
Sure ! |
Should we keep the non-migratable Tailwind properties by linking the old I think we could migrate by skipping extra properties like the
So, we may exclude the Then, we can add warnings for other non-migratable cases, such as static plugins or presets. |
I thin it's fine to skip |
I see. So, should I just add a warning for unsupported properties and other excludable cases? By the way, corePlugins is already skipped. |
@baptisthecht Yeah I think that makes sense, thanks! |
I encountered an issue in several of my projects during migration. I was unable to migrate correctly because my config file contained the now-deprecated "safelist" key. I had to reverse-engineer the problem to identify what was blocking me. To help others facing the same issue, I added this warning to inform them that they need to edit their config file for a smooth automatic migration.