Open handkerchief333 opened 1 year ago
For me using the umd version fixed the export issues.
For me using the umd version fixed the export issues.
@gregh3269 Thank you very much for your fast response. Maybe a stupid question, but can you describe to me exactly how to do this with my chosen integration?
No sure it is related, its only a suggestion, for me it only seems works with http://cdn.jsdelivr.net/npm/chart.js@4.3.0/dist/chart.umd.js
maybe the "chart.js": "^4.0.0", defaults to the esm version?
I use "npm run build" to get the advantage of the bundle size. In my JS file I imported the ChartDeferred as follows:
Without the ChartDeferred, the charts are working perfectly, but with ChartDeferred imported, this error appears and I can't get rid of this:
chart.js = 4.3.0 chartjs-plugin-deferred = 2.0.0
my package.json: