# Ionic 3 App is going more then 30MB

**URL:** <https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479>\
**Category:** ionic-v3\
**Created:** [September 6, 2017, 12:18pm UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479 "2017-09-06T12:18:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayanthkumar](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jayanthkumar/32/107877_2.png) [@Jayanthkumar](https://forum.ionicframework.com/u/Jayanthkumar)\
**Post date:** [September 6, 2017, 12:18pm UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/1 "2017-09-06T12:18:59Z")

</div>

I am working in Ionic for couple of months. I developed ionic 2 App with more 10pages and App size was 6Mb after Apk Generated, but in ionic 3 I have not even used more than 8pages and less lines of code then compared to Ionic 2 App. Still my Ionic 3 App Size is 35Mb. Any solution for this?

Note: No images are used for both App,

and is it required to keep .module.ts in all the pages which is new feature in Ionic 3.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [September 6, 2017, 12:28pm UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/2 "2017-09-06T12:28:07Z")

</div>

How are you building your app?  
What is your `ionic info` output?  
What plugins are you using?

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [September 6, 2017, 10:59pm UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/3 "2017-09-06T22:59:39Z")

</div>

> [@Jayanthkumar](#):
>
> is it required to keep .module.ts in all the pages which is new feature in Ionic 3.

[It is not](https://forum.ionicframework.com/t/ionic-build-fail-production/96358/11).

---

<div class="post-metadata">

**Author:** ![Jayanthkumar](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jayanthkumar/32/107877_2.png) [@Jayanthkumar](https://forum.ionicframework.com/u/Jayanthkumar)\
**Post date:** [September 7, 2017, 6:58am UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/4 "2017-09-07T06:58:45Z")

</div>

@ionic/cli-utils : 1.9.2  
ionic (Ionic CLI) : 3.9.2

global packages:

```
Cordova CLI : 7.0.1 

```

local packages:

```
@ionic/app-scripts : 2.1.3
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.6.0

```

System:

```
Android SDK Tools : 25.2.3
Node : v8.2.1
npm : 5.3.0 
OS : Linux 4.4

```

…  
I am using one Highchart Plugin which is external plugin

---

<div class="post-metadata">

**Author:** ![Jayanthkumar](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jayanthkumar/32/107877_2.png) [@Jayanthkumar](https://forum.ionicframework.com/u/Jayanthkumar)\
**Post date:** [September 7, 2017, 7:00am UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/5 "2017-09-07T07:00:38Z")

</div>

By Removing this pages will help in reduce App size…???

Are else is there any ways to reduce App size

---

<div class="post-metadata">

**Author:** ![vks\_gautam1](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@vks\_gautam1](https://forum.ionicframework.com/u/vks_gautam1)\
**Post date:** [September 7, 2017, 7:45am UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/6 "2017-09-07T07:45:04Z")

</div>

yes and use “–prod” tab to build apk

---

<div class="post-metadata">

**Author:** ![JAR19](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jar19/32/113216_2.png) [@JAR19](https://forum.ionicframework.com/u/JAR19)\
**Post date:** [September 7, 2017, 11:40am UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/7 "2017-09-07T11:40:45Z")

</div>

I would suggest creating a new blank ionic app and then repalce the src folder n the blank version with the src folder from your original version - then produce the APK and see what the file size is.

From my own experience the update procedure keeps files in the www and production folders which have been deleted or renamed in the src folder.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [September 7, 2017, 9:14pm UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/8 "2017-09-07T21:14:18Z")

</div>

> [@Jayanthkumar](#):
>
> I am using one Highchart Plugin which is external plugin

By this you are claiming that you have absolutely no other plugins? I find that extremely hard to believe.

---

<div class="post-metadata">

**Author:** ![Hamidaraghi](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@Hamidaraghi](https://forum.ionicframework.com/u/Hamidaraghi)\
**Post date:** [February 2, 2019, 6:45pm UTC](https://forum.ionicframework.com/t/ionic-3-app-is-going-more-then-30mb/104479/9 "2019-02-02T18:45:20Z")

</div>

I have the same problem.  
My apk size is about 20MB using --prod flag  
but it should not be so big size!
