猩星文档
/
npm8中文文档
npm 8.19.1
1
CLI 命令
1-41
npm prune
1-41-3
配置
1-41-3-1 `omit`
1-41-3-2 `dry-run`
1-41-3-3 `json`
1-41-3-4 `foreground-scripts`
1-41-3-5 `ignore-scripts`
1-41-3-6 `workspace`
1-41-3-7 `workspaces`
1-41-3-8 `include-workspace-root`
1-41-3-9
`install-links`
npm 8.19.1
/
CLI 命令
/
npm prune
/
配置
/
`install-links`
中英双语
默认值:假
类型:布尔值
当设置 file: 存在于项目根目录之外的协议依赖项将被打包并安装为常规依赖项,而不是创建符号链接。此选项对工作区没有影响。
上一章:
`include-workspace-root`
下一章:
npm publish