未验证 提交 f1590070 编写于 作者: fxy060608's avatar fxy060608 提交者: GitHub

Merge pull request #2466 from huadong/add-cloudbase-to-project-config

add cloudbaseRoot to platformJson2ProjectJson for weapp cloudbase con…
...@@ -19,7 +19,7 @@ const { ...@@ -19,7 +19,7 @@ const {
const { const {
hasOwn, hasOwn,
parseStyle, parseStyle,
trimMPJson trimMPJson
} = require('../util') } = require('../util')
...@@ -113,7 +113,8 @@ const platformJson2ProjectJson = { ...@@ -113,7 +113,8 @@ const platformJson2ProjectJson = {
projectname: defaultCopy, projectname: defaultCopy,
packOptions: defaultCopy, packOptions: defaultCopy,
debugOptions: defaultCopy, debugOptions: defaultCopy,
scripts: defaultCopy scripts: defaultCopy,
cloudbaseRoot: defaultCopy
} }
function copyToJson (json, fromJson, options) { function copyToJson (json, fromJson, options) {
...@@ -320,4 +321,4 @@ module.exports = function (pagesJson, manifestJson, project = {}) { ...@@ -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.
先完成此消息的编辑!
想要评论请 注册