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.56k 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 4 months ago

ajiho commented 4 months 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 4 months ago

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