Skip to content

rn-size-check v0.1.3: Lottie animation check

Choose a tag to compare

@MuhammadHamza47 MuhammadHamza47 released this 15 Oct 13:31
· 25 commits to main since this release
  • New check lottie-large: finds Lottie animations shipped in res/raw or assets that are over 100 KB unpacked or have images embedded inside (base64 PNG/JPG). Embedded images are flagged as a warning because they barely compress; big vector-only animations are flagged as info because they compress well but are still parsed at full size. Recognises both After Effects (Bodymovin) and LottieFiles exports. Suggested by a reader of the launch post.
  • Markdown summary: savings read "· saves 54 KB" instead of a second set of brackets.
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