You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
renovateBot
changed the title
chore(deps): update tailwindcss monorepo to v4.2.4
chore(deps): update dependency @tailwindcss/vite to v4.2.4
Apr 26, 2026
Build failure analysis — Missing field tsconfigPaths on BindingViteResolvePluginConfig.resolveOptions
Root cause
Two upstream changes collided:
vite 8.0.10 (released 2026-04-23, vitejs/vite#22299) bumped its bundled rolldown to 1.0.0-rc.17. That release added a requiredtsconfigPaths field to BindingViteResolvePluginConfig.resolveOptions.
@tailwindcss/vite 4.2.3 (tailwindlabs/tailwindcss#19803) and 4.2.4 (tailwindlabs/tailwindcss#19947) introduced a customCssResolver / customJsResolver that calls Vite's resolver for @reference, @import and @plugin directives. That call path doesn't pass the new tsconfigPaths field, so rolldown rc.17 throws.
@tailwindcss/vite 4.2.2 doesn't take this code path → main builds fine. 4.2.4 always takes it for any CSS file with @reference / @plugin. We have several:
@tailwindcss/vite is hoisted at the root and resolves vite to the root copy → it pulls in vite 8.0.10's broken resolver bindings even though astro itself runs the build with the nested 7.3.2. The error trace confirms this — every frame is node_modules/vite/..., not node_modules/astro/node_modules/vite/....
The same vite 8.0.10 was confirmed as the trigger in vitejs/vite#22322 (closed; reporter believes the fix belongs upstream in tailwind/astro). Multiple other repos pinned past 4.2.4 as a workaround. There is no fixed @tailwindcss/vite release yet (latest is 4.2.4).
Options
Pin root vite to 8.0.9 (still ships rolldown rc.16 without the required field) by adding "vite": "8.0.9" to devDependencies. Compatible with vitest (peer ^6 || ^7 || ^8) and @tailwindcss/vite (peer ^5.2 || ^6 || ^7 || ^8); astro keeps its nested 7.3.2 untouched. Single-line, trivially revertible once upstream is fixed.
Hold this PR until @tailwindcss/vite 4.2.5+ (or a rolldown release with the binding fix) lands. No code change, but no ETA from upstream.
Add a renovate package rule to skip 4.2.3/4.2.4 explicitly until a fix exists.
Recommended: option 1 if we want to merge soon, option 2 if we prefer to wait for the upstream resolution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.2.2→4.2.4Release Notes
tailwindlabs/tailwindcss (@tailwindcss/vite)
v4.2.4Compare Source
Fixed
@importand@pluginstill resolve correctly when using Vite aliases in@tailwindcss/vite(#19947)v4.2.3Compare Source
Fixed
tracking-*utilities by preferring non-negative utilities (e.g.-tracking-tighter→tracking-wider) (#19827)@tailwindcss/webpack(#19723)px-[1.2rem] py-[1.2rem]→p-[1.2rem]) (#19837)border-{t,b}-*intoborder-y-*,border-{l,r}-*intoborder-x-*, andborder-{t,r,b,l}-*intoborder-*(#19842)scroll-m{t,b}-*intoscroll-my-*,scroll-m{l,r}-*intoscroll-mx-*, andscroll-m{t,r,b,l}-*intoscroll-m-*(#19842)scroll-p{t,b}-*intoscroll-py-*,scroll-p{l,r}-*intoscroll-px-*, andscroll-p{t,r,b,l}-*intoscroll-p-*(#19842)overflow-{x,y}-*intooverflow-*(#19842)overscroll-{x,y}-*intooverscroll-*(#19842)--placeholder-colorinstead of--background-colorforplaceholder-*utilities (#19843)config.contentwhen migrating from Tailwind CSS v3 to Tailwind CSS v4 (#19846).envand.env.*to default ignored content files (#19846)overflow-ellipsisintotext-ellipsis(#19849)start-full→inset-s-full,start-auto→inset-s-auto,start-px→inset-s-px, andstart-<number>→inset-s-<number>as well as negative versions (#19849)end-full→inset-e-full,end-auto→inset-e-auto,end-px→inset-e-px, andend-<number>→inset-e-<number>as well as negative versions (#19849)-sign inside the arbitrary value-left-[9rem]→left-[-9rem](#19858)-sign outside the arbitrary valueml-[calc(-1*var(--width))]→-ml-(--width)(#19858)NODE_PATHenvironment variable in standalone CLI (#19617)Configuration
📅 Schedule: (UTC)
* 0-3 1 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.