Ionic4 Production Error

I found below error when build using --prod in ionic4. How to solve and help me.

ERROR in @ionic-native/core/decorators/interfaces.ts(100,22): Error during template compile of ‘Plugin’
Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler.

[ERROR] An error occurred while running subprocess ng.