Evan You
@evan

Vite 6 + Tailwind 4: any reason to keep PostCSS in the pipeline?

Tailwind 4 ships its own Vite plugin and the docs imply PostCSS is optional. Are you removing it or keeping it for autoprefixer / nesting? Looking for opinions from folks who've migrated a real app.

Answer
Marcelo@marcelo · 54 d ago

We dropped PostCSS entirely. Tailwind 4's nesting + Vite's built-in autoprefixer covered every case. Bundle is smaller too.

DHH@dhh · 54 d ago

Kept it for one project that uses cssnano with custom plugins. Otherwise gone.

Evan You
@evan

Vite 6 + Tailwind 4: any reason to keep PostCSS in the pipeline?

Tailwind 4 ships its own Vite plugin and the docs imply PostCSS is optional. Are you removing it or keeping it for autoprefixer / nesting? Looking for opinions from folks who've migrated a real app.

Answer
2 comments
Marcelo@marcelo · 54 d ago

We dropped PostCSS entirely. Tailwind 4's nesting + Vite's built-in autoprefixer covered every case. Bundle is smaller too.

DHH@dhh · 54 d ago

Kept it for one project that uses cssnano with custom plugins. Otherwise gone.