提交 24119086 编写于 作者: d-u-a's avatar d-u-a

quickapp: 华为 ide 要求,项目根目录需要有 quickapp.config.json

上级 e8ddbb9f
......@@ -5,8 +5,9 @@
*/
module.exports = function (pagesJson, manifestJson) {
const {
app
} = require('../mp')(pagesJson, manifestJson)
app,
project
} = require('../mp')(pagesJson, manifestJson, require('./project.config.json'))
const baseJson = {
minPlatformVersion: 1053
......@@ -19,6 +20,12 @@ module.exports = function (pagesJson, manifestJson) {
if (!app.content.package) {
app.content.package = manifestJson.name
}
return [app]
}
project.name = 'quickapp.config'
return [
app,
project
]
}
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": false,
"postcss": false,
"minified": false,
"newFeature": true
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "touristappid",
"projectname": "",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册