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

large bundle size #126

Open
YannikG opened this issue Feb 14, 2023 · 1 comment
Open

large bundle size #126

YannikG opened this issue Feb 14, 2023 · 1 comment
Assignees

Comments

@YannikG
Copy link

YannikG commented Feb 14, 2023

Describe the bug
I just ran the source-map-explorer on my project and noticed this package uses around 400KB (or ~23% of my entire main.js).

To Reproduce
Steps to reproduce the behavior

  1. install source-map-explorer
  2. run source-map-explorer on any angular project using "@angular-material-extensions/select-country": "^8.1.0"
  3. look at the report

Expected behavior
I would assume for this small extension a much smaller bundle size. @angular/material just uses 100KB more than @angular-material-extensions/select-country.

I really appreciate this project, but if I'm not able to reduce the bundle size, I have to ditch this extension and just use a regular old select.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: any
  • Browser any
  • Version any

Smartphone (please complete the following information):

  • Device: any
  • OS: any
  • Browser any
  • Version any

Additional context
Did I do something wrong? Have I missed an important information?

Appreciate your help.

@AnthonyNahas
Copy link
Member

I would appreciate a PR

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

No branches or pull requests

2 participants