-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Which project does this relate to?
Start
Describe the bug
After generating a new project, adding @module-federation/vite breaks the build.
Similar to #4516
Your Example Website or App
https://github.com/jsg2021/tanstack-start-module-federation-issue
Steps to Reproduce the Bug or Issue
run build
Expected behavior
Build succeeds with normal output plus federated assets
This check probably needs to be more sophisticated:
router/packages/start-plugin-core/src/start-manifest-plugin/manifestBuilder.ts
Lines 195 to 200 in b1c0f46
| if (bundleEntry.isEntry) { | |
| if (entryChunk) { | |
| throw new Error( | |
| `multiple entries detected: ${entryChunk.fileName} ${bundleEntry.fileName}`, | |
| ) | |
| } |
We can produce multiple "entry" points... Is there a way to flag which one we want in this context?
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.167.6
- OS: macOS/Linux
- Browser: irrelevant, in terminal.
- Bundler: Vite
- Bundler Version: 7.3.1
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels