Option to filter reported sections or allow passing custom options via command line
- Langage dominant
- JavaScript
- Étoiles
- 6.9k
- Forks
- 1.8k
- Merge moyen
- 44 min
- PR mergées (30 j)
- 1
Description
I have a monorepo with dozens of libraries. The value exported by the `.size-limit.js` module is built dynamically as an array of sections (i.e. `{name: string, path: string}[]`). Running the script with the `--why` option opens dozens of tabs on my browser. Ideally, I can pick one or more sections for introspection.
I tried passing custom options to modify the generated configuration, but `size-limit` bails when unknown options are passed via the command line. Ignoring unknown options is also a good enough solution for me as that would allow me to use a custom option to filter the results.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.