Skip to content

Commit 4ee670f

Browse files
committed
Suppress "empty content" warning
1 parent 47dbc6f commit 4ee670f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ function createParser(original, transform) {
134134
).generateRules
135135
} catch {}
136136

137+
// suppress "empty content" warning
138+
tailwindConfig.content = ['no-op']
139+
137140
let context
138141
let existing = contextMap.get(tailwindConfigPath)
139142
let hash = objectHash(tailwindConfig)

0 commit comments

Comments
 (0)