Page 1 of 1

CommonJS warning in PrimeNG 10 with Chart components

Posted: 14 Oct 2020, 13:32
by konradmd
Since I updated my project to PrimeNG 10 (X) I get the warning during compilation:

Code: Select all

WARNING in C:\myApp\node_modules\primeng\__ivy_ngcc__\fesm2015\primeng-chart.js depends on 'chart.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Is this a known bug, that will be fixed in one of the next updates?
Or how can I remove this warning correctly?

Thanks
Konrad