Blog

Apr 06, 2026

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 →


Share

BTCBTC
$81,071.00
0.29%
ETHETH
$2,304.00
0.77%
USDTUSDT
$1.000
0.01%
BNBBNB
$679.44
3.09%
XRPXRP
$1.46
0.24%
USDCUSDC
$1.00
0.08%
SOLSOL
$95.18
0.48%
TRXTRX
$0.350
0.2%
FIGR_HELOCFIGR_HELOC
$1.04
0.75%
DOGEDOGE
$0.112
2.15%
WBTWBT
$59.54
0.39%
USDSUSDS
$1.000
0.01%
ADAADA
$0.274
0.94%
HYPEHYPE
$40.12
2.84%
LEOLEO
$10.00
2.03%
ZECZEC
$551.32
1.36%
BCHBCH
$438.82
1.49%
LINKLINK
$10.55
1.54%
XMRXMR
$414.37
2.23%
TONTON
$2.26
6.41%