Skip to content

@tailwindcss/vite 4.1.7 slows down Vite builds significantly in Jenkins #18148

@faner11

Description

@faner11

What version of Tailwind CSS are you using?

V4.1.7

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

Vite 6.3.5

What version of Node.js are you using?

V22.16.0

What browser are you using?

What operating system are you using?

Linux Jenkins

Reproduction URL

https://github.com/faner11/react-antd/tree/jenkins-demo

Describe your issue

Using the latest version of @tailwindcss/vite (V4.1.7) will slow down the build speed in Jenkins. It used to take 55 seconds to build using @tailwindcss/vite (4.0.9), but it takes 3-4 minutes after the upgrade.

Mainly consumed in the transforming step

vite v6.3.5 building for production...
transforming...

I've tried Jenkins in native/Docker mode, as well as vite/ vite-rolldown, and both have this problem

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