bkmashiro/import-cost-ci
Check bundle size cost of imports and fail CI if limit exceeded
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file | File to analyze | yes | — |
| limit | Size limit e.g. 50kb | — | 100kb |
| no-fail | Do not fail CI, just report | — | false |
| treemap | Print the import size treemap | — | false |
| history | Track bundle size history in .import-cost-history.json | — | false |
| bundler | Bundler to use (esbuild, webpack, vite, rollup) | no | esbuild |
Outputs
no outputs