chartjs/chartjs-adapter-date-fns

Via Webpack

ayxos opened this issue · 0 comments

ayxos commented

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?