TanStack / TanStack/router

experimental.bundledDev fails in TanStack Start with Vite Plus

Open
#7,491 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.1k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
143

Description

Which project does this relate to?

Start

Describe the bug

When enabling Vite 8's new full bundle mode via experimental.bundledDev: true inside a TanStack Start architecture, the development server fails if run with vite-plus

Complete minimal reproducer

https://github.com/nestarz/tanstack-start-mre-bundled-dev-vite-plus

Steps to Reproduce the Bug

Run pnpm dev
See error

Expected behavior

Should run without any error and js/css works

Screenshots or Videos

No response

Platform

Router / Start Version: 1.168.13
OS: macOS
Browser: all
Bundler: vite
Bundler: 8.0.0

Additional context

Follow https://github.com/TanStack/router/issues/7436

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked minimal reproducer and run pnpm dev to confirm the failure. Read the context in issue #7436 and trace how experimental.bundledDev: true is handled in the TanStack Start and Vite Plus setup. Done means the development server runs without errors and JavaScript and CSS work as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.