mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(start-plugin-core): drop Rolldown's chunking hint about the server-fn resolver's lazy imports
With the SSR environment as the provider, the resolver imports each server fn module lazily and the server bundle imports the same module statically, so every production build printed INEFFECTIVE_DYNAMIC_IMPORT for each of them. The plugin's config composes the app's onwarn and drops that hint for the resolver only. Flips the Vite row of "in mock mode, an unused denied module leaves nothing in the client bundle and no warning" (its import-protection part already passed; the hint was the last report on a channel). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
1bd61ba7b7
commit
dfe2bc9caa
4 changed files with 148 additions and 48 deletions
Loading…
Add table
Add a link
Reference in a new issue