Open skyporter opened 9 months ago
Describe the bug Importing the library (with webpack) throw an error Uncaught TypeError: Cannot read properties of undefined (reading 'Chart')
Uncaught TypeError: Cannot read properties of undefined (reading 'Chart')
versions:
To Reproduce
// application.js import Chart from "chart.js/auto" import "chartjs-plugin-dragdata"
Hi @skyporter, I finally found time to look at this recently but can't reproduce this with a clean Webpack setup, neither using 2.2.5 nor the current master. Could you provide a MRE repo?
master
Describe the bug Importing the library (with webpack) throw an error
Uncaught TypeError: Cannot read properties of undefined (reading 'Chart')
versions:
To Reproduce