From cae3cc7ba27f7e3aefbeda0a19e5c895eaacf9b1 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 4 Oct 2024 13:17:26 -0400 Subject: [PATCH] wip --- packages/@tailwindcss-upgrade/src/migrate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@tailwindcss-upgrade/src/migrate.ts b/packages/@tailwindcss-upgrade/src/migrate.ts index f44698f6d..9891077a6 100644 --- a/packages/@tailwindcss-upgrade/src/migrate.ts +++ b/packages/@tailwindcss-upgrade/src/migrate.ts @@ -321,6 +321,7 @@ export async function split(stylesheets: Stylesheet[]) { // If removing files means that some `@import` at-rules are now unnecessary, we // can also remove those. for (let sheet of stylesheets) { + continue if (!sheet.root) continue let utilitySheet = utilitySheets.get(sheet)