mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(solid-router,vue-router): keep route HMR dev branches out of production output
Solid's JSX compiler wraps a ternary prop in a memo, which kept the dev branch in production bundles; Vue's render function gained a local. Branch before the JSX and move Vue's hot swap into a client-only watcher, so production client bundles are byte-identical again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2b5a63767b
commit
39e70412cb
3 changed files with 47 additions and 56 deletions
Loading…
Add table
Add a link
Reference in a new issue