CommonJS warning in PrimeNG 10 with Chart components

UI Components for Angular
Post Reply
konradmd
Posts: 3
Joined: 08 Oct 2020, 15:55

14 Oct 2020, 13:32

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

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests