rexxars/Bundle Stats
Measure bundle sizes, bundled-with-deps sizes, and import times for package exports.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| packages | Comma-separated package names (resolved via workspaces) or paths. "." = root package. | — | . |
| build-script | npm script name to run per-package using PM filter syntax. Ignored if build-command is set. | — | build |
| build-command | If set, runs this command once globally instead of per-package builds. For turbo/nx users. | — | "" |
| base-ref | Git ref for baseline. Defaults to PR base SHA. | — | "" |
| head-ref | Git ref for current. Defaults to current SHA. | — | "" |
| max-import-time | Max import time per export (e.g. 500ms, 2s). | — | "" |
| max-bundle-size-gzip | Max gzip bundle size per export (e.g. 100kb). | — | "" |
| max-bundle-size-raw | Max raw bundle size per export. | — | "" |
| max-internal-size-gzip | Max gzip internal size per export. | — | "" |
| max-internal-size-raw | Max raw internal size per export. | — | "" |
| ignore | Comma-separated glob patterns to skip exports. | — | "" |
| only | Comma-separated glob patterns to include only. | — | "" |
| no-benchmark | Skip import time benchmarks. | — | false |
| no-bundle | Skip Rollup bundling. | — | false |
| no-bin-benchmark | Skip import time benchmarks for bin entries. | — | false |
| allow-bin-child-process | Allow bin entries to spawn child processes during import benchmarks. Enables measuring CLI startup time for packages that spawn on import. | — | false |
| conditions | Space-separated export conditions to measure separately (e.g. "node default"). | — | "" |
| compare-npm | Compare against a published npm version. Use "latest" or a specific version like "5.12.0". | — | "" |
| comment-id | Unique identifier for the PR comment. Prevents collisions when multiple bundle-stats actions run on the same PR, or when other bots edit github-actions comments. Defaults to the resolved package names. | — | "" |
Outputs
no outputs