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(
8383 }
8484 hook . unwatch ( )
8585
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 ) =>
8892 postcss ( [ tailwindcss ( configPath ) ] ) . process ( `@tailwind ${ group } ;` , {
8993 from : undefined ,
9094 } )
@@ -112,6 +116,7 @@ export default async function getClassNames(
112116 config : resolvedConfig ,
113117 separator : typeof userSeperator === 'undefined' ? ':' : userSeperator ,
114118 classNames : await extractClassNames ( [
119+ { root : base . root , source : 'base' } ,
115120 { root : components . root , source : 'components' } ,
116121 { root : utilities . root , source : 'utilities' } ,
117122 ] ) ,
You can’t perform that action at this time.
0 commit comments