Ionic 4 build error

Application in Debug mode runs fine but not after built in Release mode,