tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/src/class-names/index.js b/src/class-names/index.js
index 8aef0b0adf2a433c918501f3fc400b5ef94145d3..62d478d3f212678d9eaba2d53ffcaabcc38261f7 100644
--- a/src/class-names/index.js
+++ b/src/class-names/index.js
@@ -83,8 +83,12 @@ throw new TailwindConfigError(error)
}
hook.unwatch()
- const [components, utilities] = await Promise.all(
- ['components', 'utilities'].map((group) =>
+ const [base, components, utilities] = await Promise.all(
+ [
+ semver.gte(version, '0.99.0') ? 'base' : 'preflight',
+ 'components',
+ 'utilities',
+ ].map((group) =>
postcss([tailwindcss(configPath)]).process(`@tailwind ${group};`, {
from: undefined,
})
@@ -112,6 +116,7 @@ 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' },
]),