Skip to content

Commit 5fcc209

Browse files
committed
fix(tailwind): scope tailwind scanning to index.ts only
1 parent c25001d commit 5fcc209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export default defineNuxtModule<ModuleOptions>({
208208
// @ts-ignore - Module might not exist
209209
nuxt.hook('tailwindcss:config', (tailwindConfig) => {
210210
tailwindConfig.content = tailwindConfig.content ?? []
211-
tailwindConfig.content.push(`${tokensDir}/**/*`)
211+
tailwindConfig.content.push(`${tokensDir}/index.ts`)
212212
})
213213
}
214214
})

0 commit comments

Comments
 (0)