提交 12cdab72 编写于 作者: D Danny Zhong

add cloudbaseRoot to platformJson2ProjectJson for weapp cloudbase config.

上级 5d1465da
......@@ -19,7 +19,7 @@ const {
const {
hasOwn,
parseStyle,
parseStyle,
trimMPJson
} = require('../util')
......@@ -113,7 +113,8 @@ const platformJson2ProjectJson = {
projectname: defaultCopy,
packOptions: defaultCopy,
debugOptions: defaultCopy,
scripts: defaultCopy
scripts: defaultCopy,
cloudbaseRoot: defaultCopy
}
function copyToJson (json, fromJson, options) {
......@@ -320,4 +321,4 @@ module.exports = function (pagesJson, manifestJson, project = {}) {
}
}
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册