File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,12 @@ export default async function getClassNames(
83
83
}
84
84
hook . unwatch ( )
85
85
86
- const [ components , utilities ] = await Promise . all (
87
- [ 'components' , 'utilities' ] . map ( ( group ) =>
86
+ const [ base , components , utilities ] = await Promise . all (
87
+ [
88
+ semver . gte ( version , '0.99.0' ) ? 'base' : 'preflight' ,
89
+ 'components' ,
90
+ 'utilities' ,
91
+ ] . map ( ( group ) =>
88
92
postcss ( [ tailwindcss ( configPath ) ] ) . process ( `@tailwind ${ group } ;` , {
89
93
from : undefined ,
90
94
} )
@@ -112,6 +116,7 @@ export default async function getClassNames(
112
116
config : resolvedConfig ,
113
117
separator : typeof userSeperator === 'undefined' ? ':' : userSeperator ,
114
118
classNames : await extractClassNames ( [
119
+ { root : base . root , source : 'base' } ,
115
120
{ root : components . root , source : 'components' } ,
116
121
{ root : utilities . root , source : 'utilities' } ,
117
122
] ) ,
You can’t perform that action at this time.
0 commit comments