Tgure/ngx-loggly-logger

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

Closed this issue · 1 comments

eso32 commented

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

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.