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

使用pnpm 打包后的静态文件包含node_modules #7

Open
liangliangzhe opened this issue Nov 27, 2023 · 6 comments
Open

使用pnpm 打包后的静态文件包含node_modules #7

liangliangzhe opened this issue Nov 27, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@liangliangzhe
Copy link

您好,我使用main分支拉取分支,并使用"pnpm install"安装依赖后,使用"pnpm run build"编译后,dist文件夹的中的es和lib文件夹中都存在node_modules文件夹,请问这是允许的么?

@liangliangzhe
Copy link
Author

image
我的pnpm 版本是8.5.0

@liangliangzhe
Copy link
Author

image

@liangliangzhe
Copy link
Author

image
并且多了 packages的文件夹

@liangliangzhe
Copy link
Author

您好,我使用main分支拉取分支,并使用"pnpm install"安装依赖后,使用"pnpm run build"编译后,dist文件夹的中的es和lib文件夹中都存在node_modules文件夹,请问这是允许的么?

sorry ,是使用master分支

@laine001
Copy link
Owner

您好,我使用main分支拉取分支,并使用"pnpm install"安装依赖后,使用"pnpm run build"编译后,dist文件夹的中的es和lib文件夹中都存在node_modules文件夹,请问这是允许的么?

🏀不允许的吧,我没有注意这里😌,可能不小心改了什么配置,很久没有打包发包了。我抽时间优化下,你也可以提pr给我的哈🐔

@laine001
Copy link
Owner

欢迎提pr🐔

@laine001 laine001 added the bug Something isn't working label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants