tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/src/class-names/runPlugin.js b/src/class-names/runPlugin.js
index dbdd2b5d9fe213987d842f7bd44223d2ee9bb490..118961e81b20134d8a2f6c5ee41122f03b88ed62 100644
--- a/src/class-names/runPlugin.js
+++ b/src/class-names/runPlugin.js
@@ -17,6 +17,12 @@ prefix: (x) => x,
theme: (path, defaultValue) => dlv(config, `theme.${path}`, defaultValue),
variants: () => [],
config: (path, defaultValue) => dlv(config, path, defaultValue),
+ corePlugins: (path) => {
+ if (Array.isArray(config.corePlugins)) {
+ return config.corePlugins.includes(path)
+ }
+ return dlv(config, `corePlugins.${path}`, true)
+ },
target: (path) => {
if (typeof config.target === 'string') {
return config.target === 'browserslist'