SIGN IN SIGN UP

A utility-first CSS framework for rapid UI development.

0 0 25 TypeScript

fix(vite): resolve tsconfig paths in CSS and JS resolvers (#19803)

Change `aliasOnly` from `true` to `false` when calling Vite's resolver
so that the full resolution pipeline runs, including the oxc resolver
responsible for tsconfig path resolution.

When `aliasOnly` was `true`, only the @rollup/plugin-alias plugin ran,
which meant `resolve.tsconfigPaths: true` had no effect on CSS `@import`
or JS `@plugin` resolution in `@tailwindcss/vite`.

Closes #19802.

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
A
Amir Zarrinkafsh committed
5cb1efdf416a6d37012d31cc1306c41cb35bbdc1
Parent: bd30a71
Committed by GitHub <noreply@github.com> on 3/20/2026, 3:19:18 PM