Skip to content

rn-size-check v0.3.0: compare two builds

Choose a tag to compare

@MuhammadHamza47 MuhammadHamza47 released this 20 Oct 02:51
· 14 commits to main since this release

What grew between two builds?

npx rn-size-check compare old.aab new.aab
  • New compare command. Each side can be a build (.aab/.apk) or a report saved with --json.
  • Shows the change in download, install and file size, per category, the files that were added, removed, grew or shrank, and the npm packages that changed (when both builds have source maps).
  • Lists problems that are new, fixed, got worse (10 → 11 big PNGs) or got better.
  • --markdown size.md writes a PR comment, --json saves the comparison, and --max-growth <MB> exits with code 1 when the download grows too much (for CI).
  • The website has a Compare page: drop the old and the new build (or two saved reports). Still read in your browser.
  • Saved reports now include the full file list, so two reports can be compared file by file. Reports from older versions still compare by category.
npx rn-size-check@latest android/app/build/outputs/bundle/release/app-release.aab

📦 npm: https://www.npmjs.com/package/rn-size-check · 🌐 Web: https://rn-size-check-web.vercel.app