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.48k stars 1.82k forks source link

Can the config option be supported like eslint or stylelint to specify the path of the configuration file? #367

Open ajiho opened 1 month ago

ajiho commented 1 month ago

eslint or stylelint

stylelint --config src/config/stylelint.config.mjs ....

It would be great if size limit could also support this usage

size-limit --config src/config/size-limit.mjs ...
ai commented 1 month ago

Good idea. Can you send PR? (I am busy on another open source project).