0
Fork 0
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:
Sheraff 2026-10-25 11:07:53 +01:00
commit dfe2bc9caa
No known key found for this signature in database
4 changed files with 148 additions and 48 deletions