ai / size-limit

Calculate the real cost to run your JS app or lib to keep good performance. Show error in pull request if the cost exceeds the limit.
MIT License
6.52k stars 1.82k forks source link

Add `--save-bundle <dir>` to help and to README #301

Open unional opened 1 year ago

unional commented 1 year ago

Found this and it is still working: https://github.com/ai/size-limit/issues/95

but it is not mentioned in the size-limit --help nor in the README. 🌷

ai commented 1 year ago

Do you want to add your name in the project history and send PR?

unional commented 1 year ago

Either is fine. :)

I noticed that it is actually under webpack. But it also works for esbuild. I have a project that does not have webpack so the cli does not show that help, but it is still working as expected.

Maybe move it up to the core options?