ngx-animate icon indicating copy to clipboard operation
ngx-animate copied to clipboard

Compilation error on prod environment.

Open millerf opened this issue 7 years ago • 3 comments

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'.

millerf avatar Oct 03 '18 14:10 millerf

Same problem...

evanlegamer avatar Feb 04 '19 16:02 evanlegamer

any solution?

pawod avatar Jul 01 '19 19:07 pawod

Any solution or alternative here?

Sireini avatar Jul 27 '20 12:07 Sireini