Chartjs-Unable to ES6 import ChartJS plugin into Aurelia

2👍

The issue at hand is that the library does not provide any meaningful way to jump in with a module loader and properly first fully load the dependency ChartJS before carrying on with the execution.

It would be the best if the library could wrap its code in a UMD compatible format to satisfy the most common formats at once, amongst those RequireJS, which is used for the Aurelia CLI.

I see you’ve created a Github Issue, including the libraries author as well. Good work, I’ve created a small PR to add the missing feature, which then also makes the example work, without throwing the missing helper error.

Leave a comment