How to reduze the size of final bundle (css/js)?

My JS and CSS vahe 11,9MB.

How could I reduce their size for deploy?

I had the same question not long ago and found out that, at build, this does the trick:
ionic build --prod --release

1 Like

I got this error:

✗ You cannot run iOS unless you are on Mac OS`X.

then I used:
ionic build browser --prod --release

It reduced the final bundle a little bit.

Unfortunately ionic build browser --prod --release is breaking all my flexbox css