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

Plugin will try to inject other repo in monorepo #500

Open
5 tasks done
KawaiiZapic opened this issue May 19, 2024 · 1 comment
Open
5 tasks done

Plugin will try to inject other repo in monorepo #500

KawaiiZapic opened this issue May 19, 2024 · 1 comment

Comments

@KawaiiZapic
Copy link

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.
Copy link

stackblitz bot commented May 19, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

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

1 participant