flowbite-datepicker
flowbite-datepicker copied to clipboard
Locales are not correctly exported
In your package.json, you are referring to ./dist/locales/index.cjs.js and ./dist/locales/index.esm.js.
https://github.com/themesberg/flowbite-datepicker/blob/master/package.json#L20-L22
However, these files don't exist, which causes the following error in Vite:
[commonjs--resolver] Missing "./locales/de" specifier in "flowbite-datepicker" package
I checked the original package and there it is like this: https://github.com/mymth/vanillajs-datepicker/blob/master/package.json#L11
When I do it like this, it works.
Can you explain why you changed this or fix it?