-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Exclude files from tailwind parsing by plugin #12896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The same happens with the I think it should be possible to extend the safelist from a plugin or a preset. |
Hiii can you clarify these issue ? |
@benjaminpreiss Hey! Adding excluding sources to plugins was not a feature we supported in v3 and since we've released v4 in the mean time, it's probably not something that we'll add support for anymore. Going to close this in favor of the v4 issue about adding support for the excludes syntax: #15943 Thanks! |
What version of Tailwind CSS are you using?
3.4.1
What build tool (or framework if it abstracts the build tool) are you using?
postcss 8.4.34 svelte 4.2.7, @sveltejs/kit 2.0.0, vite 5.0.3
What version of Node.js are you using?
v18.17.1
What browser are you using?
Brave
What operating system are you using?
macOS
Reproduction URL
https://github.com/frontline-hq/tw-exclude-content
Reproduction steps:
Then visit the app in the browser and check for the file
app.css
in the network tab.You will see that it includes the tw class
bg-blue-900
.Describe your issue
content
configurations returned from tailwind plugins are not respected for excluded file globs.D.h. the classes in the file should not be included in the css as specified here
The text was updated successfully, but these errors were encountered: