使用--save-exact的目的是什么>

问题描述 投票:-1回答:1

想知道-exact--save一起使用

npm i [email protected] --save-dev --save-exact

想知道-exact与--save npm一起使用,我是[email protected] --save-dev --save-exact

node.js npm npm-install
1个回答
0
投票

[当使用save = true时,npm install会在每次运行命令时自动将软件包添加到package.json中,而无需使用npm install --save。 save-exact = true将确保不会安装任何滑动版本(带有〜或^)。

© www.soinside.com 2019 - 2024. All rights reserved.