Skip to content

Locales are not correctly exported #55

@vaelu

Description

@vaelu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions