We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dfef1e commit 6bdba04Copy full SHA for 6bdba04
packages/@tailwindcss-upgrade/src/index.ts
@@ -155,7 +155,7 @@ async function run() {
155
await Promise.all(
156
stylesheets.map(async (sheet) => {
157
try {
158
- let config = configBySheet.get(sheet)!
+ let config = configBySheet.get(sheet)
159
let jsConfigMigration = jsConfigMigrationBySheet.get(sheet)
160
161
if (!config) {
@@ -168,6 +168,8 @@ async function run() {
168
}
169
170
171
+ if (!config) return
172
+
173
await migrateStylesheet(sheet, {
174
...config,
175
jsConfigMigration: jsConfigMigration ?? null,
0 commit comments