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

Investigate: Package size [Low priority] #97

Open
cmacgray14 opened this issue Sep 13, 2024 · 0 comments
Open

Investigate: Package size [Low priority] #97

cmacgray14 opened this issue Sep 13, 2024 · 0 comments

Comments

@cmacgray14
Copy link
Contributor

The package size of this library appears to be quite large. While different sources suggest different numbers, according to NPM registry the unzipped size is about 4.5 MB, compared to about 1.5 MB for component library react-bootstrap. Some things that could potentially reduce the bundle size:

  • reducing dependencies
  • marking more (appropriate) dependencies as external so as to not bundle them with this package
  • eliminate any code duplication
  • use more efficient imports (i.e. if possible, do not import entire dependencies but rather smaller submodules)
@cmacgray14 cmacgray14 changed the title [Low priority] Package size Investigate: Package size [Low priority] Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant