Home Forums Chart Support Angular 10 update for appliaction generates a warning for canvasjs library Reply To: Angular 10 update for appliaction generates a warning for canvasjs library

#45395

Hi,

I am getting this warning after running the Angular 18 ng build command:

▲ [WARNING] Module '@canvasjs/charts' used by 'node_modules/@canvasjs/angular-charts/fesm2015/canvasjs-angular-charts.js' is not ESM

CommonJS or AMD dependencies can cause optimization bailouts.
For more information see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies

Could you please assist me with this issue?