Skip to content

Bump client/shared submodule to fix vite chunk size warning - #99

Merged
buzz-code merged 1 commit into
mainfrom
claude/vite-chunk-size-warnings-kxhdue
Jul 6, 2026
Merged

buzz-code merged 1 commit into
mainfrom
claude/vite-chunk-size-warnings-kxhdue

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Summary

  • Bumps the client/shared submodule (nra-client) to pick up manualChunks vite build config, which splits vendor bundles (react, MUI, react-admin, xlsx, rich-text editor, openobserve, etc.) into separate cacheable chunks instead of one oversized bundle.
  • Resolves the vite build warning: "Some chunks are larger than 500 KiB after minification."

Test plan

  • yarn install && yarn build in client/ completes with no chunk-size warning
  • Verified total JS payload is unchanged (~3.06 MB / ~904 KB gzipped before and after) — this only improves chunk granularity/caching, not total bytes

Generated by Claude Code

Copilot AI review requested due to automatic review settings July 6, 2026 03:58
@buzz-code
buzz-code merged commit 6295d6c into main Jul 6, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the client/shared (nra-client) git submodule to pick up an updated Vite configuration (via createViteConfig) that defines manualChunks, aiming to eliminate the “Some chunks are larger than 500 KiB after minification” warning while improving chunk granularity/caching for vendor code.

Changes:

  • Bump the client/shared submodule reference to a newer nra-client commit that includes Vite manualChunks configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants