You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@tailwindcss-upgrade/src/migrate-js-config.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,9 @@ export async function migrateJsConfig(
31
31
fs.readFile(fullConfigPath,'utf-8'),
32
32
])
33
33
34
-
if(!isSimpleConfig(unresolvedConfig,source)){
34
+
if(!canMigrateConfig(unresolvedConfig,source)){
35
35
info(
36
-
'The configuration file is not a simple object. Please refer to the migration guide for how to migrate it fully to Tailwind CSS v4. For now, we will load the configuration file as-is.',
36
+
'Your configuration file could not be automatically migrated to the new CSS configuration format, so your CSS has been updated to load your existing configuration file.',
37
37
)
38
38
returnnull
39
39
}
@@ -63,8 +63,8 @@ async function migrateTheme(unresolvedConfig: Config & { theme: any }): Promise<
0 commit comments