Tgure / ngx-loggly-logger

ngx loggly service
MIT License
7 stars 8 forks source link

ngx-loggly-logger.js depends on 'ng2-cookies'. CommonJS or AMD dependencies can cause optimization bailouts. #20

Closed eso32 closed 11 months ago

eso32 commented 2 years ago

Hey,

Is this a known issue? I'm getting this error on angular 10 and 11: Warning: /node_modules/ngx-loggly-logger/__ivy_ngcc__/fesm2015/ngx-loggly-logger.js depends on 'ng2-cookies'. CommonJS or AMD dependencies can cause optimization bailouts.

Tgure commented 2 years ago

That is just a warning, in your angular.json under allowedCommonJsDependencies you can add ng2-cookies as an allowed dependency and the warning will go away.