Skip to content

.gitignore is too powerful and cannot be stopped #16920

Closed
@kingmesal

Description

@kingmesal

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 the source(none).

What can I do here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions