fix(miniprogram): 修复 project.config.json 配置
添加 miniprogramRoot: dist/ 指向 Taro 编译产物目录, 修复微信开发者工具无法加载小程序代码的问题。 更新 appid 为真实值,启用生产构建选项。
This commit is contained in:
@@ -1,16 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"appid": "wx20f4ef9cc2ec66c5",
|
||||||
"miniprogramRoot": "dist/",
|
"miniprogramRoot": "dist/",
|
||||||
"projectname": "hms-miniprogram",
|
"compileType": "miniprogram",
|
||||||
"description": "HMS 健康管理平台患者小程序",
|
|
||||||
"appid": "touristappid",
|
|
||||||
"setting": {
|
"setting": {
|
||||||
|
"autoAudits": false,
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"es6": false,
|
"es6": true,
|
||||||
"enhance": true,
|
"enhance": true,
|
||||||
"compileHotReLoad": false,
|
"compileHotReLoad": true,
|
||||||
"postcss": false,
|
"postcss": true,
|
||||||
"minified": false,
|
"minified": true
|
||||||
"bundle": false
|
}
|
||||||
},
|
|
||||||
"compileType": "miniprogram"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user