Skip to content

Commit 96c49be

Browse files
committed
only migrate PostCSS config when migrating Tailwind CSS v3 projects
1 parent f57025f commit 96c49be

File tree

1 file changed

+1
-1
lines changed
  • packages/@tailwindcss-upgrade/src

1 file changed

+1
-1
lines changed

packages/@tailwindcss-upgrade/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ async function run() {
257257
}
258258
}
259259

260-
{
260+
if (version.isMajor(3)) {
261261
// PostCSS config migration
262262
await migratePostCSSConfig(base)
263263
}

0 commit comments

Comments
 (0)