flowbite-datepicker icon indicating copy to clipboard operation
flowbite-datepicker copied to clipboard

Locales are not correctly exported

Open vaelu opened this issue 10 months ago • 0 comments

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?

vaelu avatar Feb 15 '25 10:02 vaelu