How to reduce an app size?

can anyone please help me out to reduce an app size without getting any error in the app?

  • build with --prod
  • use date-fns instead of moment.js
  • don’t use lazy page loading
  • don’t include any plugins or libraries that aren’t essential

Okay I will try for it.

I think lazy page loading is good concept to improve app performance. and other points are good to decrease app size.

I cannot think of any situation in which lazy page loading reduces app size, and that’s what you asked about. In my experience, it increased one of my app’s binary size by 30-40% simply due to code duplication of components.

Okay. I will try to do as you suggested.
Thank you for your time.