Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to set a relative limit? #91

Open
tniezurawski opened this issue Sep 7, 2022 · 0 comments
Open

Is it possible to set a relative limit? #91

tniezurawski opened this issue Sep 7, 2022 · 0 comments

Comments

@tniezurawski
Copy link

I'm wondering if I could fail the action if the file size increases e.g. by 10% or 100kB. Does such an option exist? If not, could you guide me on where to start? I can prepare the PR and documentation.

Use case:
We're far away from the limit we've set but I'd like to discourage big changes in the team as well as detect obvious mistakes where for example a huge dependency lands in the main bundle. It won't trigger alarms on the limit because we are way below it but the relative size limit would already catch it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant