Skip to content

tailwind v4 changes #522

Open
Open
@8de2fdb0

Description

@8de2fdb0

Tailwind v4 doesn't have a config anymore, it is possible to define a @config directive in the css file but that is not really intended to be used like that anymore.

The file detection works now different, it just searches all files as far as I can see so setting --cwd to something like src/ or crates/my_crate becomes more important. I have got from 54s to 2ms just by setting --cwd and preventing tailwindcss scanning my target folder.

I guess adding external tools into a rust bin is a moving target, it is nice to don't have to manage a build tool but using something like cargo make has the benefit of more flexibility when stuff changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions