rodgc / ngx-socket-io

Socket.IO module for Angular
MIT License
261 stars 89 forks source link

CommonJS or AMD dependencies can cause optimization bailouts #80

Closed dj-fiorex closed 3 months ago

dj-fiorex commented 3 years ago

Hello, i'm trying to use your library in my Angular 10 project, but when i build i receive this warning: WARNING in C:\Users\carme\Documents\Haptica\LineaVita\Web\linea-vita\node_modules\ngx-socket-io\__ivy_ngcc__\fesm2015\ngx-socket-io.js depends on 'socket.io-client'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

How can i fix this warning?

Helveg commented 3 years ago

Follow the link in your error: https://angular.io/guide/build#configuring-commonjs-dependencies

And execute the steps there. I don't think there's anything we can do since we're a wrapper around that dependency.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.