Blog
19 hours ago
Your Microfrontend Ships More Icons Than It Uses: Here’s How I Fixed That
Microfrontends inherit the full SVG icon sprite from the monolith — hundreds of symbols your app never renders. I built a build-time plugin that statically analyzes source code, detects which icons are actually imported, and generates a minimal sprite. Result: **88% reduction** in icon payload on a production app (319 icons in the design system, 38 actually used). Zero runtime overhead, zero manual curation, 17 KB package with zero analyzer dependencies.
Source: HackerNoon →