Building Error when any splash resource are 3Mb or more

Hi.

I got an build error when any splash resource are 3Mb or more. I have to manually edit png files to decrese their size in order to build successfully.
Happens in ionic v3 cli version 4 and 5.

Thanks.

I would file a bug report on this at https://github.com/ionic-team/ionic-cli, as I think it would fall under an issue in the CLI.

I would suggest looking at switching to JPGs instead. You will need to edit the config.xml file to use the new assets. Keeping the compression high, you might have good results (and a smaller app). Just a thought.