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

Should I ignore some file types? #321

Closed DiggesT closed 1 year ago

DiggesT commented 1 year ago

The Verbum project is using size-limit GH actions tests, and it's has an error: "No loader is configured for ".ttf" files...". This files using by Katex library.

In my branch I fix it by adding ignore file types list: ["*.woff", "*.woff2", "*.ttf"].

Can you explain me please, why should I add ignore types list? And is that corrct to ignore some file types for analyse library size?