Keep artifact sizes under control with [Gravity](https://gravity.ci), a developer tool that helps catch size regressions early before they reach users.
Keep artifact sizes under control with Gravity, a
developer tool that helps catch size regressions early before they reach users.
@gravityci/cli is Gravity's CLI component that runs in CI servers.
Minimal usage:
``bash`
npx @gravityci/cli 'dist/'
Specifying multiple paths:
`bash`
npx @gravityci/cli 'dist//' 'dist2//' 'dist3/*/' ...
Specifying a fingerprint pattern:
`bash`
npx @gravityci/cli 'dist/*/' --fingerprint ".+(-[0-9A-Z]{8})\\..+"
``
npx @gravityci/cli
| argument | type | description |
| --------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| | array of strings | Required. File path patterns of the compiled files the user wants to check its bundlesize |
|
---
Gravity is developed by and © Mainmatter GmbH.