ng2-tree
ng2-tree copied to clipboard
Angular 11 warning: CommonJS or AMD dependencies can cause optimization bailouts
I got this warning message from Angular after installing ng2-tree:
...src\app\app.module.ts depends on 'ng2-tree'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Is it possible to make ng2-tree an ECMAScript module instead of CommonJS module?