diff --git a/src/class-names/index.js b/src/class-names/index.js index 62d478d3f212678d9eaba2d53ffcaabcc38261f7..8aef0b0adf2a433c918501f3fc400b5ef94145d3 100644 --- a/src/class-names/index.js +++ b/src/class-names/index.js @@ -83,12 +83,8 @@ throw new TailwindConfigError(error) } hook.unwatch() - const [base, components, utilities] = await Promise.all( - [ - semver.gte(version, '0.99.0') ? 'base' : 'preflight', - 'components', - 'utilities', - ].map((group) => + const [components, utilities] = await Promise.all( + ['components', 'utilities'].map((group) => postcss([tailwindcss(configPath)]).process(`@tailwind ${group};`, { from: undefined, }) @@ -116,7 +112,6 @@ configPath, config: resolvedConfig, separator: typeof userSeperator === 'undefined' ? ':' : userSeperator, classNames: await extractClassNames([ - { root: base.root, source: 'base' }, { root: components.root, source: 'components' }, { root: utilities.root, source: 'utilities' }, ]),