ngx-animate
ngx-animate copied to clipboard
Compilation error on prod environment.
Using:
"@angular/cli": "^1.7.4",
"@angular/common": "^5.2.10",
When compiling with --prod flag (so I guess it is AoT-related), I receive this error:
ERROR in app/modules/layout/menu/menu.component.ts(33,48): Error during template compile of 'MenuComponent'
Reference to a local (non-exported) symbols are not supported in decorators but 'slideX' was referenced in 'slideInLeft'
'slideInLeft' references 'slideInLeft'
'slideInLeft' references local variable slideX at ../ngx-animate/lib/fading.ts(68,7)
Consider exporting 'slideX'.
Same problem...
any solution?
Any solution or alternative here?