var/plugins.json 是什么,它应该进入版本控制(Shopware 6.3.5.2)吗?

What is var/plugins.json and should it go into version control (Shopware 6.3.5.2)?

在一个非常新的设置上我 运行

bin/build-storefront.sh

现在 var/plugins。json 在 git 的更改文件列表中。现在我想知道我是否应该提交这个文件,因为它包含本地绝对路径——在其他系统上可能不同:

编辑: 当我删除文件时,该文件似乎在构建过程中重新创建。但是它在 production-template git repository 中,即 st运行ge.

var/plugins.jsonbuild-administration.shbuild-storefront.sh 自动生成,用于为安装的插件设置 Webpack 的入口点和输出文件。

不应提交此文件。如果你提交,它无论如何都会被替换。在即将发布的 Shopware 6.4 版本中,git 将忽略它(参见 the commit)。