Skip to content

Commit 3a05d6f

Browse files
authored
🩹 Change enforce to pre for compatibility with the latest @tailwindcss/vite (#5)
1 parent 3340e07 commit 3a05d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ export function wordpressThemeJson(config: ThemeJsonConfig = {}): VitePlugin {
755755

756756
return {
757757
name: 'wordpress-theme-json',
758-
enforce: 'post',
758+
enforce: 'pre',
759759

760760
async configResolved() {
761761
if (tailwindConfig) {

0 commit comments

Comments
 (0)