Skip to content

Commit 0696aba

Browse files
authoredDec 16, 2024··
fix(load): add .js to tailwindcss/resolveConfig
1 parent 67a730c commit 0696aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/internal-context/load.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const createInternalContext = async (moduleOptions: ModuleOptions, nuxt = useNux
135135
])
136136
}
137137

138-
const resolveTWConfig = await import('tailwindcss/resolveConfig').then(m => m.default || m).catch(() => (c: unknown) => c) as <T extends Partial<TWConfig>>(config: T) => T
138+
const resolveTWConfig = await import('tailwindcss/resolveConfig.js').then(m => m.default || m).catch(() => (c: unknown) => c) as <T extends Partial<TWConfig>>(config: T) => T
139139

140140
const loadConfigs = async () => {
141141
const moduleConfigs = await getModuleConfigs()

0 commit comments

Comments
 (0)
Please sign in to comment.