-
-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
Describe the bug
From #499 , plugin will inject import statement out of current repo. For example, plugin try to inject "vue", If other repo that being injected does not install "vue" as its dep, will cause a build error.
In the reproduction, run pnpm build
vite will exit with error, which should not happend because @example/api
never configure to run with this plugin.
Reproduction
https://stackblitz.com/edit/vitejs-vite-kjoeqv?file=packages%2Ffe%2Fsrc%2Findex.js
System Info
Not provided
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Metadata
Metadata
Assignees
Labels
No labels