Skip to content

I'm not able to import anything from @mantine/dates in my react app bundled with vite #4487

@aditya-kumarr

Description

@aditya-kumarr

What package has an issue

@mantine/dates

Describe the bug

I"m getting this error saying:
Uncaught SyntaxError: ambiguous indirect export: default
which usually happens when I try to import something from an esmodule that doesn't have a default export

just this line of code is causing the error
code

Is there any way to fix this ?

like is it a problem with @mantine/dates or just vite, because @mantine/core and other dependencies are working just fine and they have similar exports as well
code

What version of @mantine/hooks page do you have in package.json?

^6.0.15

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Possible fix

No response

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