BundleWatch

BundleWatch checks JavaScript bundle sizes on every pull request against limits you set, failing the build when a file is too big.

Overview

BundleWatch is a tool for keeping JavaScript bundle size under control. On every pull request it shows how the change affects your bundle, file by file, compared against the limits you set. Each pull request's bundlewatch status links to a results page that shows what the commit changed, file by file, next to each limit. You can set a maxSize for each file, measured with gzip, Brotli or no compression, and a file over its limit fails the build. BundleWatch posts a commit status when your CI token can write statuses, and you can make it a required check to block merges when a file is too big. It works with GitHub Actions using its built-in token, or on GitLab CI, CircleCI, Travis CI, Drone and other providers. Pull requests are compared with the branch they target, and you choose which branches save a baseline. You can run the service that stores baselines yourself, or run without one.

Key Features

  • Per-file bundle size limits
  • Size measured with gzip, Brotli or no compression
  • Pull request commit statuses
  • Results page with file-by-file changes
  • Required check to block merges
  • Support for multiple CI providers
  • Baseline comparison against target branch
  • Self-hosted baseline server option

What Can You Use It For?

  • Checking bundle size impact of pull requests
  • Failing builds when a file exceeds its limit
  • Blocking merges when a file is too big
  • Comparing pull requests with their target branch
  • Running bundle checks on GitLab CI or CircleCI

MCP Integration

No MCP (Model Context Protocol) server is listed for BundleWatch yet. When one is available, its URL and setup guide appear here.

Know an official MCP server for BundleWatch? Tell us

Affiliate Program

No affiliate program is listed for BundleWatch yet. When one is available, its link and terms appear here.

Know an official affiliate program for BundleWatch? Tell us

Frequently Asked Questions

It measures each file with gzip, Brotli or no compression, and you set a maxSize for each file.

A file over its limit fails the build.

It works with GitHub Actions using its built-in token, or on GitLab CI, CircleCI, Travis CI, Drone and other providers.

Yes, you can run the service that stores baselines yourself, or run without one.

Alternatives and Related Tools

See More

Lemon Code is a free coding agent that builds products and automates workflows across connected apps.

Codecov is a code coverage testing and insights tool that helps teams measure coverage, review pull requests, and improve code quality.

ByteRover is open-book document search for agents, returning the passage and its page from uploaded files.

FileGator is a free, open-source, self-hosted web application for managing files and folders.