agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimize AgileTs for tree-shaking

bennoinbeta opened this issue Β· comments

commented

πŸ†• Feature Request

❓ Is your feature request related to a problem?

Big bundle size

πŸ“„ Describe the solution you'd like

As a user I want my application to be as small as possible,
thus, I don't want to have unused functionalities of AgileTs in my production build.

πŸ“ƒ Describe alternatives you've considered

No alternative

βž• Additional Notes

πŸ’ͺ TODO

  • Treeshake Collection
  • Treeshake Computed
  • Treeshake Logger (-> only logCodes in prod instead of whole messages)
  • Treeshake unused Hooks/HOC's
  • Treeshake Storage functionality
commented

an interesting thread
image
webpack/webpack#9337