Skip to content

perf(assets): import only used Font Awesome icons - #1055

Merged
daveroverts merged 1 commit into
dont-pass-request-all-to-bulk-email-jobfrom
perf/font-awesome-specific
Oct 7, 2026
Merged

daveroverts merged 1 commit into
dont-pass-request-all-to-bulk-email-jobfrom
perf/font-awesome-specific

Conversation

@daveroverts

Copy link
Copy Markdown
Owner

library.add(far, fas, fab) pulled in every solid, regular, and brand icon (~1MB+ JS) via dom.watch(), but the views only use 15 solid icons. Import and register just those.

App bundle: 1957.59 kB -> 357.96 kB (gzip 665.05 kB -> 105.16 kB).


Stack created with GitHub Stacks CLI • Give Feedback 💬

@daveroverts
daveroverts added this pull request to stack #1051 October 7, 2026 19:44
library.add(far, fas, fab) pulled in every solid, regular, and brand icon (~1MB+ JS) via dom.watch(), but the views only use 15 solid icons. Import and register just those.

App bundle: 1957.59 kB -> 357.96 kB (gzip 665.05 kB -> 105.16 kB).
@daveroverts
daveroverts force-pushed the perf/font-awesome-specific branch from 8b3fbd9 to fbdd679 Compare October 7, 2026 19:46
@daveroverts
daveroverts merged commit e100aef into main Oct 7, 2026
51 checks passed
@daveroverts
daveroverts deleted the perf/font-awesome-specific branch October 7, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant