Hacker News new | ask | show | jobs
by teddarific 1145 days ago
The same thing happened in a past job for me — we discovered we were included every single icon in FontAwesome. I wrote a codemod script to refactor how we were importing icons so it was treeshakeable. Cut load times from 10s to 2s — was glorious.
1 comments

Oh, we're using FontAwesome here.

Any possibility of you sharing your "codemod script" so others can potentially implement it too? :)