How do you debug AOT white page?


#1

Hi guys,
I’m trying to upgrade my old Ionic to the latest versions of Ionic and Angular. The app works in debug mode. But when switching to production build (enabling AOT with --aot), the app stays white with no errors in console.

I already faced this kind of issue a lot when upgrading Angular/Ionic and it’s really frustrating. I cannot be the only one !
What technique do you use to debug that kind of situation ? How do you identify the issue ?

Thanks a lot !

Nicolas