提交 e88f2ee1 编写于 作者: fxy060608's avatar fxy060608

feat(stat): add uniStatistics to plus

上级 16aca5ba
......@@ -143,12 +143,23 @@ module.exports = function (pagesJson, userManifestJson, isAppView) {
name: userManifestJson.versionName,
code: userManifestJson.versionCode
},
locale: userManifestJson.locale
locale: userManifestJson.locale,
uniStatistics: userManifestJson.uniStatistics
}, {
plus: userManifestJson['app-plus']
}
)
// 根节点配置了统计
if (manifestJson.uniStatistics) {
manifestJson.plus.uniStatistics = merge.recursive(
true,
manifestJson.uniStatistics,
manifestJson.plus.uniStatistics
)
delete manifestJson.uniStatistics
}
const splashscreenOptions =
userManifestJson['app-plus'] && userManifestJson['app-plus'].splashscreen
......@@ -606,4 +617,4 @@ module.exports = function (pagesJson, userManifestJson, isAppView) {
)
}
return [app, manifest]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册