Ionic v3 build prod error {@angular/common/common - Function calls are not supported in decorators}

I’m building an Ionic v3 app.

Everything compiles and tests fine. That is I have been able to build and serve and test via the browser and emulator.

I’m trying to build a prod release using ionic cordova build --prod --release. I am getting the following issue

Any help would be appreciated.

Found the issue.
One of my npm dependencies had conflicting reference to angular common.