Send data to RelativeCI

Configure the agent to collect, filter and send bundle stats and build information to RelativeCI.

This page contains the setup guide for the RelativeCI agent v5. Go to RelativeCI agent v4 to follow the setup guide for the previous version.

The RelativeCI agent runs in your CI pipeline after a build to collect the bundle stats JSON file, read build metadata (branch, commit, pull request), and send the data to RelativeCI for analysis. It supports webpack, rspack, Vite, Rollup, Next.js, Nuxt, Gatsby, Astro, SvelteKit, and any other bundler that produces a webpack-compatible stats file.

Select a method to setup and configure the agent:

  • GitHub Action — recommended for open-source projects or projects with strict security policies; supports forks, dependabot, and workflow_run events
  • CLI — recommended for advanced configurations; two-step setup with separate stats generation and ingestion jobs
  • Webpack Plugin — recommended for small/medium private projects; one-step setup for webpack, rspack, Next.js, and Gatsby
  • Rollup Plugin (beta) — recommended for small/medium private projects; one-step setup for Rollup, Vite, and Rolldown


Agent



Need help?Contact us via email, Twitter, or GitHub!