Skip to content

Conversation

@bpierre
Copy link
Member

@bpierre bpierre commented Jan 17, 2026

Summary

  • Wrap rollup-plugin-visualizer to only run for client builds
  • Server build was overwriting client stats causing inconsistent comparisons

🤖 Generated with Claude Code

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 17, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
app-presto 378c31f Commit Preview URL

Branch Preview URL
Jan 17 2026, 01:03 AM

@bpierre bpierre force-pushed the bpierre/fix-bundle-size-client-only branch 2 times, most recently from 25fceb8 to 9ad84c1 Compare January 17, 2026 00:57
The rollup-plugin-visualizer was running for both client and server
builds. Since server builds last, it overwrote client stats with server
stats, causing inconsistent bundle size comparisons between PRs.

Created a clientOnlyVisualizer wrapper that only runs the visualizer
when outputting to the client directory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bpierre bpierre force-pushed the bpierre/fix-bundle-size-client-only branch from f16b036 to 2025514 Compare January 17, 2026 01:02
@github-actions
Copy link

📦 Bundle Size Report

📉 Total: 5.4 MB (-1.0 MB (-16.1%))

Metric Current Baseline Delta
Raw 5.4 MB 6.5 MB -1.0 MB (-16.1%)
Gzip 1.6 MB 1.9 MB -309.2 KB (-16.1%)
Brotli 1.4 MB 1.6 MB -250.4 KB (-15.3%)
Top 10 chunks
Chunk Size Gzip
assets/main-DAnhqQOk.js 2.0 MB 610.2 KB
assets/_address-oPxxulV_.js 1022.9 KB 219.6 KB
assets/dist-Bc8EeBpF.js 392.8 KB 100.9 KB
assets/AlertController-CAfK6UK2.js 387.9 KB 99.0 KB
assets/index.es-DkPwfcCB.js 315.9 KB 104.1 KB
assets/ApiController-EuKV36kX.js 254.3 KB 76.2 KB
assets/w3m-modal-DXzTau4v.js 240.8 KB 79.8 KB
assets/basic-D_FrcAMD.js 196.5 KB 75.3 KB
assets/core-CouFtwkE.js 123.2 KB 31.8 KB
assets/wui-list-item-CBZWLhCN.js 120.8 KB 48.1 KB

@bpierre bpierre merged commit 8a1c923 into main Jan 17, 2026
3 checks passed
@bpierre bpierre deleted the bpierre/fix-bundle-size-client-only branch January 17, 2026 01:05
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.

2 participants