Skip to content

[v4] No way to discard false-positive classes (blocklist option) #15720

@silverwind

Description

@silverwind

What version of Tailwind CSS are you using?

4.0.0

What build tool (or framework if it abstracts the build tool) are you using?

any

What version of Node.js are you using?

any

What browser are you using?

any

What operating system are you using?

any

Reproduction URL

not relevant

Describe your issue

In v4, one can use the blocklist option to eliminate false-positives classes in the compiled output, but with the v4 CSS config, this seems no longer be possible.

I think it's very important to have this option back to reduce bundle size.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions