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

fix: allow esbuild config properties #294

Closed angeloashmore closed 2 years ago

angeloashmore commented 2 years ago

This PR allows esbuild options to be set, including the config and modifyEsbuildConfig options.

Without this PR, Size Limit will halt upon entry validation since config and modifyEsbuildConfig have not be marked as valid options.

Reproduction

See: https://github.com/angeloashmore/size-limit-esbuild-config-repro

ai commented 2 years ago

Thanks. I will try to release it today if CI will pass.

ai commented 2 years ago

Can you update snapshots?

angeloashmore commented 2 years ago

Absolutely! Done.

ai commented 2 years ago

Released in 8.0.1