問題:
npm@5 has been published, it has a new feature package-lock.json
file (after npm install
) which confuses me. npm@5 已經發布,它有一個新功能package-lock.json
文件(在npm install
),這讓我很困惑。 I want to know, what is the effect of this file?我想知道,這個文件的作用是什麼?
解決方案:
參考一: https://stackoom.com/question/2zrsh參考二: What is the role of the package-lock.json?