mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1756] [MERGED] Add explicit Vite vendor chunk policy #5264
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1756
Author: @cha1latte
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @cha1latte
Base:
refactor← Head:feat/issue-1577-vite-manual-chunks📝 Commits (1)
8294958Add Vite manual vendor chunk policy📊 Changes
1 file changed (+32 additions, -3 deletions)
View changed files
📝
vite.config.ts(+32 -3)📄 Description
Linked issue
Closes #1577
Why this change
What changed
manualChunkspolicy for React, runtime utilities, UI support libraries, and Tauri helper packages.650with an inline note that the largest remaining JS chunk is lazy Game mode route code.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
node_modules; it does not add a broad vendor fallback or pulllucide-reactinto a shared startup chunk.Pressure points touched:
GameSurfaceremains a lazy route chunk.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm buildpassed and emitted explicitvendor-react,vendor-runtime,vendor-ui, andvendor-taurichunks.indexabout270.63 kB; lazyGameSurfaceabout640.63 kB.pnpm checkpassed locally.pnpm test:ui:run tests/e2e/app.spec.tspassed locally.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
No UI changes.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.