[GH-ISSUE #1532] [Feature]: Decide bundling strategy for remaining Vite large chunk warnings #779

Closed
opened 2026-10-20 17:33:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Xelvanis on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1532

Originally assigned to: @cha1latte on GitHub.

What problem does this solve?

pnpm build still emits generic post-minification large chunk warnings even after the static/dynamic import blockers were fixed. The remaining main JS/CSS output size needs an intentional decision instead of staying as ambient build noise.

Proposed behavior

Measure or decide the expected load impact, then choose one of these explicit outcomes:

  • split remaining large owners/manual chunks,
  • split CSS where practical,
  • or intentionally raise/accept the warning threshold with a documented reason.

Expected owner or impact area

  • App shell, navigation, startup, or providers
  • Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Refactor branch considerations

PR #1455 fixed the static import blockers for translation/text-gallery lazy chunks. Current evidence from the local chore says pnpm build passed while still warning about approximately 2.1 MB main JS and 516 kB CSS outputs.

Alternatives considered

Leave the warning alone only if maintainers decide the current bundle size is acceptable for refactor and the warning threshold should be raised.

Additional context

This is a build/performance hygiene issue, not a current build failure.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1532 Originally assigned to: @cha1latte on GitHub. ## What problem does this solve? `pnpm build` still emits generic post-minification large chunk warnings even after the static/dynamic import blockers were fixed. The remaining main JS/CSS output size needs an intentional decision instead of staying as ambient build noise. ## Proposed behavior Measure or decide the expected load impact, then choose one of these explicit outcomes: - split remaining large owners/manual chunks, - split CSS where practical, - or intentionally raise/accept the warning threshold with a documented reason. ## Expected owner or impact area - [x] App shell, navigation, startup, or providers - [ ] Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Refactor branch considerations PR #1455 fixed the static import blockers for translation/text-gallery lazy chunks. Current evidence from the local chore says `pnpm build` passed while still warning about approximately 2.1 MB main JS and 516 kB CSS outputs. ## Alternatives considered Leave the warning alone only if maintainers decide the current bundle size is acceptable for refactor and the warning threshold should be raised. ## Additional context This is a build/performance hygiene issue, not a current build failure. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 29, 2026):

Triage note: labeling this as scope-risk because build chunk budgeting could change framework/vendor loading, CSS split policy, or accepted warning thresholds.

A good next step is to measure the current outputs and choose an explicit policy before code changes.

<!-- gh-comment-id:4578268502 --> @cha1latte commented on GitHub (May 29, 2026): Triage note: labeling this as `scope-risk` because build chunk budgeting could change framework/vendor loading, CSS split policy, or accepted warning thresholds. A good next step is to measure the current outputs and choose an explicit policy before code changes.
Author
Owner

@cha1latte commented on GitHub (May 31, 2026):

fixed in #1754

<!-- gh-comment-id:4588129508 --> @cha1latte commented on GitHub (May 31, 2026): fixed in #1754
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#779
No description provided.