rexxars/Bundle Stats

Measure bundle sizes, bundled-with-deps sizes, and import times for package exports.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
packagesComma-separated package names (resolved via workspaces) or paths. "." = root package..
build-scriptnpm script name to run per-package using PM filter syntax. Ignored if build-command is set.build
build-commandIf set, runs this command once globally instead of per-package builds. For turbo/nx users.""
base-refGit ref for baseline. Defaults to PR base SHA.""
head-refGit ref for current. Defaults to current SHA.""
max-import-timeMax import time per export (e.g. 500ms, 2s).""
max-bundle-size-gzipMax gzip bundle size per export (e.g. 100kb).""
max-bundle-size-rawMax raw bundle size per export.""
max-internal-size-gzipMax gzip internal size per export.""
max-internal-size-rawMax raw internal size per export.""
ignoreComma-separated glob patterns to skip exports.""
onlyComma-separated glob patterns to include only.""
no-benchmarkSkip import time benchmarks.false
no-bundleSkip Rollup bundling.false
no-bin-benchmarkSkip import time benchmarks for bin entries.false
allow-bin-child-processAllow bin entries to spawn child processes during import benchmarks. Enables measuring CLI startup time for packages that spawn on import.false
conditionsSpace-separated export conditions to measure separately (e.g. "node default").""
compare-npmCompare against a published npm version. Use "latest" or a specific version like "5.12.0".""
comment-idUnique 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.""

no outputs