Replies: 1 comment 1 reply
-
I believe this feature is already available in Tailwind. You should be able to add negating patterns to add exclusion globs: module.exports = {
content: [
'./src/**/*.js',
'!./src/foo',
],
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tailwind has an option to include directories to purge CSS classes from. But an exclude option could come very handy in some situations. Mostly we need to exclude node_modules, assets and others. Is it possible to add this feature in Tailwindcss?
Beta Was this translation helpful? Give feedback.
All reactions