Skip to content

fix(vite): scan is not resolving sub path import if used in a glob import#22006

Closed
kalvenschraut wants to merge 2 commits intovitejs:mainfrom
RTVision:fix/dep-scan-with-import-subpath-and-import-glob
Closed

fix(vite): scan is not resolving sub path import if used in a glob import#22006
kalvenschraut wants to merge 2 commits intovitejs:mainfrom
RTVision:fix/dep-scan-with-import-subpath-and-import-glob

Conversation

@kalvenschraut
Copy link
Copy Markdown
Contributor

fixes #22005

I did use AI pretty heavily for this to find issue, make test case and fix. I have reviewed everything myself and looks fine to me. I am not entirely sure why this fixes it though, guessing things are passing in a 3rd parameter but this one case wasnt using it?

@sapphi-red
Copy link
Copy Markdown
Member

Yeah, we should pass the option here. I've tweaked your change a bit in #22018. I hope you don't mind.
It'd be helpful if you could enable this checkbox next time.
image

@kalvenschraut
Copy link
Copy Markdown
Contributor Author

kalvenschraut commented Mar 25, 2026

I can't unfortunately due to it being on an org fork and not personal from my understanding I have tried but thanks for taking over idc much just wanted it fixed. Not attached to AI code

https://github.com/orgs/community/discussions/5634 per the reason why I cant. Unless that is there on creation only and I just missed it.

@kalvenschraut kalvenschraut deleted the fix/dep-scan-with-import-subpath-and-import-glob branch March 25, 2026 14:01
@sapphi-red
Copy link
Copy Markdown
Member

Ah, I forgot about that limitation... I hope GitHub fixes it.

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.

dependency scan error on first startup when resolving sub path import if used in a glob import

2 participants