Skip to content

fix: raise Vite chunkSizeWarningLimit to suppress bundle size warning#15

Merged
quiet-node merged 1 commit intomainfrom
worktree-prancy-juggling-puzzle
Apr 2, 2026
Merged

fix: raise Vite chunkSizeWarningLimit to suppress bundle size warning#15
quiet-node merged 1 commit intomainfrom
worktree-prancy-juggling-puzzle

Conversation

@quiet-node
Copy link
Copy Markdown
Owner

Summary

  • The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold, producing a warning on every build
  • As a local-only Tauri desktop app, bundle size has no user-facing performance impact
  • Raises chunkSizeWarningLimit to 600 kB in vite.config.ts so bun run validate-build is warning-free

Test Plan

  • Run bun run validate-build — no warnings, no errors
  • Run bun run test — all 155 tests pass

🤖 Generated with Claude Code

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
@quiet-node quiet-node merged commit 61351d1 into main Apr 2, 2026
3 checks passed
@quiet-node quiet-node deleted the worktree-prancy-juggling-puzzle branch April 2, 2026 03:33
quiet-node added a commit that referenced this pull request Apr 10, 2026
…#15)

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node added a commit that referenced this pull request Apr 10, 2026
…#15)

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node added a commit that referenced this pull request Apr 11, 2026
…#15)

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
This was referenced Apr 11, 2026
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.

1 participant