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

optimize bundle size #110

Closed
thepiwo opened this issue Nov 21, 2019 · 1 comment
Closed

optimize bundle size #110

thepiwo opened this issue Nov 21, 2019 · 1 comment
Assignees

Comments

@thepiwo
Copy link
Collaborator

thepiwo commented Nov 21, 2019

No description provided.

@kenodressel
Copy link
Member

kenodressel commented Nov 26, 2019

Suggestions:

  • Replace Axios with native fetch (saves about 1.4%)
  • Use PurgeCSS on aepp components repo (aepp-components css are curr. 6.4% of total bundle)
  • Narrow down core-js polyfills used and include them (core-js is ~12%) (see Reduce minimalistic bundles size zloirock/core-js#388)

Since around 60+% of our bundle is the js-sdk I already made some size reduction suggestions there:

But we should consider working with the sdk-team to reduce their dependency size as this is still the main reason our bundle is so big.

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