tailwind intellisense not detecting duplicate utilities when plugin added #13638
-
In an effort to get variable font weights working, i created a custom plugin exactly as shown here. however tailwinds intellisense still detects the core utilities of the same name... and the runtime build still seems to compile with the original utilities but just being overridden. Im not entirely sure of the implications of this, but the duplicate intellisense has be concerned there'll inevitably be some weirdness tied to some kind of weird race conditions between my font plugin and the core system. Why aren't my utilities of the same name just outright replacing the core ones? For context, the environment is a brand new scaffolded remix app, textbook tailwind integration with the custom plugin applied via the link above. EDIT: just did a quick build to check if this persists into the production css, it does. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You coul disable the core /** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
fontWeight: false,
}
} |
Beta Was this translation helpful? Give feedback.
You coul disable the core
fontWeight
plugin so that only the CSS from the plugin is built: