Skip to content

Some classes are not working on production build #16172

@dany68

Description

@dany68

What version of Tailwind CSS are you using?

Tailwind v4.0.3

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

Nuxtjs app with vite

What version of Node.js are you using?

Node v22.12.0

What browser are you using?

The problem occurs on all the major browser: Chrome, Safari, Firefox

What operating system are you using?

macOS

Describe your issue

Hi thanks for your work on the new major version,

On production build with minification of the code some classes are not working. For instance: space-y-*, space-x-*, *:[grid-area:1/1]
On localhost during development there are no such problems.

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