You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What build tool (or framework if it abstracts the build tool) are you using?
postcss: 8.5.3
What version of Node.js are you using?
Node: v22.11.0
Bun: 1.2.5
What browser are you using?
N/A
What operating system are you using?
Linux
Describe your issue
I have a mulitple wildcard patterns like special-*.hbs in my .gitignore and I cannot find a way to tell tailwind v4 to ignore my gitignore or to be able to specify an @source "../src/special-*.hbs"
Let me explain my process. My toolset copies a bunch of templates into my users site. They match special-*.hbs. These are in the .gitignore because they are not intended to be checked into their repository.
I have tried @import "tailwindcss" source(none); then specify @source "../src"; but the .gitignore is still in effect, which I thought would get turned off using the source(none).
What can I do here?
The text was updated successfully, but these errors were encountered:
Same here. During builds I am generating files which are gitignored, so I'd really love the ability to use source(none) in combination with file globbing like in v3, something like @source "../*.generated.js", or some strict whitelisting with everything else excluded.
What version of Tailwind CSS are you using?
v4.0.9
What build tool (or framework if it abstracts the build tool) are you using?
postcss: 8.5.3
What version of Node.js are you using?
Node: v22.11.0
Bun: 1.2.5
What browser are you using?
N/A
What operating system are you using?
Linux
Describe your issue
I have a mulitple wildcard patterns like
special-*.hbs
in my.gitignore
and I cannot find a way to tell tailwind v4 to ignore my gitignore or to be able to specify an@source "../src/special-*.hbs"
Let me explain my process. My toolset copies a bunch of templates into my users site. They match
special-*.hbs
. These are in the.gitignore
because they are not intended to be checked into their repository.I have tried
@import "tailwindcss" source(none);
then specify@source "../src";
but the.gitignore
is still in effect, which I thought would get turned off using thesource(none)
.What can I do here?
The text was updated successfully, but these errors were encountered: