8000 MDI treeshaking by sbs20 · Pull Request #663 · sbs20/scanservjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MDI treeshaking #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2023
Merged

MDI treeshaking #663

merged 1 commit into from
Oct 25, 2023

Conversation

sbs20
Copy link
Owner
@sbs20 sbs20 commented Oct 25, 2023

Previously the app used @mdi/font - which is pretty large and includes all possible MDI icons.

But the app only needs a few. So instead it now uses @mdi/js. It's a tiny bit more effort but shaves off 1.5mb of client package (and also end package).

Previously the app used `@mdi/font` - which is pretty large and includes all possible MDI icons.

But the app only needs a few. So instead it now uses `@mdi/js`. It's a tiny bit more effort but shaves off 1.5mb of client package (and also end package).
@sbs20 sbs20 sel 70CE f-assigned this Oct 25, 2023
@sbs20 sbs20 merged commit 8f09345 into master Oct 25, 2023
@sbs20 sbs20 deleted the mdi-treeshaking branch October 25, 2023 17:07
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
0