remove i10n locales from DatePicker

This saves 41972 bytes from the total build bundle size. Locales can be optionally added by importing in the app the specific locale (or all of them), according to the flatpickr documentation: https://flatpickr.js.org/localization/
This commit is contained in:
weaseldotro 2020-10-07 16:50:27 +03:00 committed by GitHub
commit 7aeb530375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,4 @@
import flatpickr from "flatpickr";
import l10n from "flatpickr/dist/l10n/index.js";
import rangePlugin from "flatpickr/dist/plugins/rangePlugin";
function updateClasses(instance) {