We are currently upgrading an Angular 4 app to version 6. We configured our app to run in prod mode when using JIT compilation because it has 3rd party chart components that run on their own timer, which resulted in the occasional inevitable ExpressionChangedAfterItHasBeenCheckedError in DEV. These errors did not affect production.
For some reason, the main.ts file did execute in Angular 4, but it doesn't in version 6.
What would be the best way to run out Angular 6 app in production mode using JIT compilation?
Thanks!