swimlane / ngx-graph

Graph visualization library for angular
https://swimlane.github.io/ngx-graph
MIT License
932 stars 285 forks source link

Remove CommonJS dependencies #423

Open pentiumslayer opened 2 years ago

pentiumslayer commented 2 years ago

Is your feature request related to a problem? Please describe. When building our app we get warnings:

WARNING in C:\DevFiles*****\node_modules\@swimlane\ngx-graph\fesm2015\swimlane-ngx-graph.js depends on 'webcola'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Describe the solution you'd like Please adjust your imports to remove these warnings.

Describe alternatives you've considered We have done this to our own code and this is the only package left causing this warning.

Additional context For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Jbisatto commented 7 months ago

I'm having the same problem in Angular 13, is there any solution for this? @pentiumslayer