chartjs / chartjs-adapter-luxon

Luxon adapter for Chart.js
MIT License
33 stars 24 forks source link

Import error #89

Closed alberto-schena-gizero closed 1 year ago

alberto-schena-gizero commented 1 year ago

I am facing the following error when importing the library from an ES module:

image

In addition, VSCode fails to navigate to the js sources when CTRL+clicking the library name. Both import and navigation errors can be fixed by adding the main property in package.json as of line 10 in the following:

image

benmccann commented 1 year ago

This was fixed in https://github.com/chartjs/chartjs-adapter-luxon/pull/85

It may need a new release though. @kurkle would you be able to cut a new release?