We could add file sizes of each generated SVG Icon as a comment in the export in src/components/Icon/icons/index.ts, they'll at least show up in PRs. This might be good as we bring in Illustrations too.
In the new client we're using a glob expression and a max file size, e.g. **/*.svg 8KB. If any file goes over it, the test fails. Maybe setting separate thresholds for icons and illustrations would be good enough?
We could add file sizes of each generated SVG Icon as a comment in the export in
src/components/Icon/icons/index.ts
, they'll at least show up in PRs. This might be good as we bring in Illustrations too.