Uglify Failing on run prod

has anyone ever seen an error like this on ionic cordova run android --prod? (ignore the warning in yellow)

without the prod flag everything works (as there is no uglify step).

It’s a bummer that the error give so little information and what is causing it.

What’s your ionic info?

I identified the error, my target in tsconfig was set to es2015 (=es6) which is incompatible with uglify (requires es5).