v4.2.1
Changelog
flatpickr now (after a lot of effort) properly outputs declaration files.
This means that:
- the
srcfolder is now excluded from npm (since it produced errors in several build systems) - Locales can be properly imported from
dist/l10n/localeName.ts
If you were, contrary to documentation, importing from the src folder, simply swap src for dist and you're good to go.
Likewise, if you've had to require() flatpickr instead of importing it, try using es6 imports again. Everything should be working correctly now.