Should I commit the yarn.lock file and what is it for?

后端 未结 9 1981
没有蜡笔的小新
没有蜡笔的小新 2020-12-04 07:03

Yarn creates a yarn.lock file after you perform a yarn install.

Should this be committed to the repository or ignored? What is it for?

9条回答
  •  感情败类
    2020-12-04 07:13

    Yes, You should commit it. For more about yarn.lock file, refer the official docs here

提交回复
热议问题