Ambiguous import "..." has multiple matching exports #16211
Labels
feat: deps optimizer
Esbuild Dependencies Optimization
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
I have a component (A) with a default export of the component and a named export in the same file. This component also contains an import.meta.glob and imports a directory (B).
Subsequently, Component A is imported into another component, C, which also contains an import.meta.glob of the same directory.
This results in:
This issue arises only when the directory imported with import.meta.glob contains multiple files.
Overview:
Reproduction
https://stackblitz.com/edit/vue3-vite-starter-w2qd5j
Steps to reproduce
Run
yarn dev --force
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: