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

prevent directory import error #16

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

dgore7
Copy link
Contributor

@dgore7 dgore7 commented Jun 16, 2024

When importing svelte-floating-ui from a transitive dependency I receive the following message:

Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '<working_dir>/node_modules/svelte-floating-ui/core' is not supported resolving ES modules imported from <working_dir>/node_modules/svelte-floating-ui/index.js

This PR should prevent the error

@dgore7
Copy link
Contributor Author

dgore7 commented Jun 17, 2024

fixes #13

@fedorovvvv fedorovvvv merged commit 1e65621 into fedorovvvv:main Jun 17, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants