DEV Community

Cover image for Fixing the tsconfigPaths Error in Astro + Tailwind 4
Pop Dase
Pop Dase

Posted on Originally published at codex-blog-6v6.pages.dev

Fixing the tsconfigPaths Error in Astro + Tailwind 4

If you are building an Astro site with Tailwind 4 and your build fails with this error:

[@tailwindcss/vite:generate:build] Missing field tsconfigPaths on BindingViteResolvePluginConfig.resolveOptions

You are not alone. This is a compatibility break between Vite 8 (which ships Rolldown) and the @tailwindcss/vite plugin. Here is what is happening and how to fix it.

Read the full article on my blog →


This post was originally published on codex-blog-6v6.pages.dev. Follow along there for more notes on Astro, tooling, and deployment.

Top comments (0)