-
Notifications
You must be signed in to change notification settings - Fork 36
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
add configure option to inferNamedImports #37
Comments
PR welcome |
Why is that likely? |
We use (@uppy/react)[https://uppy.io/] in our projects, and |
@0xDing is using MDX v2 through |
We are also using Uppy and encountering this issue in a Svelte application, despite not actually using Preact at all (we don't use the Preact rendering option). Inferring behavior based on what happens to be in I think it'd make sense to stop inferring entirely and require this to be passed in, and release a new major. Would be happy to PR that if it sounds good @brillout. |
Clear and concise description of the problem
For monorepo projects, it is likely that both
react
and preactpackages
required in the dependencies, so passingresolveImport('preact', root)
may be problematicSuggested solution
add configure option
Alternative
yarn patch
Additional context
Sorry for any mistakes. English is not my native language
The text was updated successfully, but these errors were encountered: