How do I exclude moment.js as a dependency within chart.js if I use parceljs as web application bundler?

Viewed 626

Moment.js has a large file size within chart.js and I don't make use moment.js for my charts. Therefore I would like to exclude this dependency, but I don't know how to do it when I use Parcel as web application bundler.

Part of the problem is discribed here: https://github.com/chartjs/Chart.js/issues/4303

0 Answers
Related