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

Packaging Issue in Monorepo for Independent npm Package Usage | 修复 Monorepo 下每个包的打包问题以便独立发布 #34

Open
5 tasks done
kirklin opened this issue May 14, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kirklin
Copy link
Owner

kirklin commented May 14, 2024

Describe the bug

在我们的 Monorepo 结构中,我们注意到每个子包在打包后不能正常使用。

Reproduction

System Info

-

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.
@kirklin kirklin changed the title Packaging Issue in Monorepo for Independent npm Package Usage 修复 Monorepo 下每个包的打包问题以便独立发布 Packaging Issue in Monorepo for Independent npm Package Usage | 修复 Monorepo 下每个包的打包问题以便独立发布 May 14, 2024
@kirklin kirklin added bug Something isn't working help wanted Extra attention is needed labels May 14, 2024
@l54808821
Copy link

这个功能确实非常需要,关注中

@l54808821
Copy link

https://vite.itnavs.com/doc/guide/source.html

这个文档中有提到,通过项目中的命令实现,可以参考一下。本人能力有限,期待作者的实现
"lib": "vite build --mode lib", // 打包lib模式 一般用于上传npm仓库

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants