chartjs / chartjs-adapter-date-fns

date-fns adapter for Chart.js
MIT License
100 stars 35 forks source link

Via Webpack #25

Closed ayxos closed 3 years ago

ayxos commented 3 years ago

I have a react app that uses react-chartjs-2.

On production chart.js includes the whole moment library, and even without locales is still big; Chart.js has the chance to not use moment, and use date-fns instead, via adapters. but I have no idea how to implement it on my project via webpack.

Any idea?