jsGanttImproved / ng-gantt

Gantt for Angular 8 based on jsgantt-improved
MIT License
61 stars 28 forks source link

CommonJS or AMD dependencies can cause optimization bailouts #35

Open agarciacalvo opened 4 years ago

agarciacalvo commented 4 years ago

Building with Angular 10 throws this warning:

WARNING in C:...\node_modules\ng-gantt\fesm2015\ng-gantt.js depends on 'jsgantt-improved'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

It's possible to have jsgantt-impoved built for ECMAScript?

More info: https://web.dev/commonjs-larger-bundles/

mariohmol commented 4 years ago

Thanks @agarciacalvo any ideas on how to fix it?