npm flatpickr 4.2.1
v4.2.1

latest releases: 4.6.13, 4.6.11, 4.6.10...
6 years ago

Changelog

flatpickr now (after a lot of effort) properly outputs declaration files.

This means that:

  • the src folder 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.

Don't miss a new flatpickr release

NewReleases is sending notifications on new releases.