I’m trying to figure out whether we need to add enableProdMode to our main.ts before we do a production build as I was under the impression that it would be added automatically but when I look at some of our logs from Sentry I can see messages that the app is still in development mode?
You should not have to deal with this. app-scripts handles it. You should not modify main.ts at all, however. If you do, perhaps the automagic of app-scripts will break.