Ionic and Capacitor 3 - How to reduce app size and delete unused libs and resources?

I have a question regarding the app optimization:
There is a simple way for reducing the size of my apps and detect if I have unused libraries and resources?

Or, if you have any suggestion for optimize the final packages.

Thank you!

I would expect this is a job for whatever bundler you’re using. For instance, if your project uses Angular, webpack deals with all of this for you.

thank you for your reply,
yes i’m using Angular,