Skip to content

Commit 555edd9

Browse files
committed
fix(sources): alias order #tailwindcss/sources
1 parent b04744f commit 555edd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/import-css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ export default async function importCSS(nuxt = useNuxt()) {
7171
nuxt.options.css.unshift(file)
7272
}
7373

74-
nuxt.options.alias['#tailwindcss'] = file
7574
nuxt.options.alias['#tailwindcss/sources'] = sourcesTemplate.dst
75+
nuxt.options.alias['#tailwindcss'] = file
7676

7777
nuxt.hook('builder:watch', (_e, path) => {
7878
if (path !== file && projectCSSFiles.includes(path)) {

0 commit comments

Comments
 (0)