# Smallest possible app?

**URL:** <https://forum.ionicframework.com/t/smallest-possible-app/77179>\
**Category:** ionic-v3\
**Created:** [January 24, 2017, 11:30am UTC](https://forum.ionicframework.com/t/smallest-possible-app/77179 "2017-01-24T11:30:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiptronic](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@tiptronic](https://forum.ionicframework.com/u/tiptronic)\
**Post date:** [January 24, 2017, 11:30am UTC](https://forum.ionicframework.com/t/smallest-possible-app/77179/1 "2017-01-24T11:30:32Z")

</div>

Did anyone try, what’s the smallest possible app (in terms of physical size in kBytes) using Ionic2?

Currently even the simplest starter adds a whole boat-load of libraries to the project and I was wondering how I could reduce the resulting app to a bare minimum and just add what I need. It seems I can’t find documentation how to optimize things here - so if there is something, a link would be awesome.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [January 24, 2017, 8:04pm UTC](https://forum.ionicframework.com/t/smallest-possible-app/77179/2 "2017-01-24T20:04:34Z")

</div>

This is stuff that we are working on now. Currently there’s not “great” answer. We already do a better job by adding production builds

```auto
ionic build ios --prod
ionic build android --prod

```

which minifies the code and does a lot more optimization.  
But further work is planned to shake additional code that is not needed or required by the app, thus further reducing the app size.

---

<div class="post-metadata">

**Author:** ![tiptronic](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@tiptronic](https://forum.ionicframework.com/u/tiptronic)\
**Post date:** [January 24, 2017, 8:18pm UTC](https://forum.ionicframework.com/t/smallest-possible-app/77179/3 "2017-01-24T20:18:03Z")

</div>

Good answer! I should have asked ‘except --prod’ 😉

Anyway it’s good to know, it’s on the list - I just wasn’t sure, I missed something…
