Reputation: 654
I converted my website into an ionic app and its almost 15MB. I have put all my JS ,HTML, and CSS files into the www/app directory. Bower components are inside www/lib. I use gulp to concatenate all my .js and .css files and put them inside www/js and www/css folders respectively. I want to reduce the size of the apk. Right now my source files and libraries are inside www. I wanted to know whether ionic just compiles the www into apk or does it take the entire project folder and turn it into an apk. I am thinking to move all my source files somewhere outside the directory and then use gulp to concatenate and store in www. I am also thinking of deleting unnecessary bower files. Will that reduce the size of the apk? Are there any other practices I should follow to reduce the size.
Upvotes: 1
Views: 77