How to Optimize Ionic Projects performance and Source Security?

Is there any suggestion to optimize app source security, and run time performance /Speed?