I am am starting to struggle on how to diagnose a startup issue I have when running a production build on Android as reported in this post.
I have not tried the production build on any other platform yet, so not sure if I am going to have the same problem on iOS and in a UWP, but thought perhaps if I could run a minified build via ionic serve , or some other way, so I can run it within Chrome on my desktop perhaps I might get some hint of the error in the dev console. I am just guessing that maybe it’s the minification that is causing the problem, as I only get it when using the
--prod flag (using just
--release without the
--prod I do not get the issue.
I’ve had a look at build scripts topic, but can’t quite see how to do what I am after.
Any ideas on how to run a minified version of the application on my desktop Chrome would be hugely appreciated, as I am running out of ideas on how to get to the bottom of this.
Thanks in advance for any suggestions!