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

[Feature]: 是否可以支持 npm install --omit=optional 安装方式 #8762

Open
filefoxper opened this issue Dec 18, 2024 · 0 comments
Open
Labels
feat New feature or request pending triage The issue/PR is currently untouched.

Comments

@filefoxper
Copy link

filefoxper commented Dec 18, 2024

What problem does this feature solve?

可以学习一下 esbuild 提供一个 install.js 在 postinstall 时运行,安装选项包吗?这样的话,在生产环境,可以方便我把开发辅助包如 eslint 等omit掉

现象:

通过 npm install --omit=optional 的安装方式

@rspack/binding 包不会安装 '@rspack/binding-darwin-x64' 工作包。

希望可以支持 omit optional 的安装方式

What does the proposed API of configuration look like?

npm install --omit=optional

@filefoxper filefoxper added feat New feature or request pending triage The issue/PR is currently untouched. labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

1 participant