RelativeCI

In-depth webpack bundle analysis and monitoring

Run @relative-ci/agent job on Circle CI

Update Circle CI configuration

Update .circleci/config.yml to run @relative-ci/agent after the build.

.circleci/config.yml
version: 2
jobs:
build:
steps:
- run:
name: Build application & webpack stats
command: npm run build --json webpack-stats.json
- run:
name: Send build stats to Relative CI
command: npx relative-ci-agent

Monorepo - run from the project root directory

Since @relative-ci/agent@v4.1.0, you can run the CLI from the project root directory using --config-dir / -c argument:

npx relative-ci-agent --config-dir packages/components



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

Start analyzing and monitoring yourwebpack bundle