Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locales are not correctly exported #55

Open
vaelu opened this issue Feb 15, 2025 · 0 comments
Open

Locales are not correctly exported #55

vaelu opened this issue Feb 15, 2025 · 0 comments

Comments

@vaelu
Copy link

vaelu commented Feb 15, 2025

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 vaelu changed the title Locales are nor correctly exported Locales are not correctly exported Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant