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

Error in dynamic path imports #169

Open
HrithikMittal opened this issue Apr 13, 2021 · 1 comment
Open

Error in dynamic path imports #169

HrithikMittal opened this issue Apr 13, 2021 · 1 comment

Comments

@HrithikMittal
Copy link

I was trying out this project in one of my React Project but it through me this error
image

and here is this code snippet
image

So I think it is not working with dynamic imports.

@mattfbacon
Copy link

What would be the expected behavior? Static analysis cannot produce an answer in that case. Maybe assume that all the files in the directory could be imported? Seems like there's no good solution.

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

2 participants