Skip to content
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

build: bundle only used ionicons #15

Open
robingenz opened this issue Oct 30, 2022 · 0 comments
Open

build: bundle only used ionicons #15

robingenz opened this issue Oct 30, 2022 · 0 comments
Labels
build Build system or external dependencies

Comments

@robingenz
Copy link
Member

When running ionic build, all ionicons are integrated into the bundle (www/svg/) whether they are used or not which leads to a large bundle size.

> npx ionic build --prod
> cd www/svg
> ls -ltr | wc -l
1301

Related: ionic-team/ionicons#910

@robingenz robingenz added the build Build system or external dependencies label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system or external dependencies
Projects
None yet
Development

No branches or pull requests

1 participant