提交 5cb6ee74 编写于 作者: Q qiang

fix(mp-weixin): 修复 manifest 缺少 mp-weixin 节点编译报错的问题

上级 eb1f6146
......@@ -10,7 +10,7 @@ const AppInterceptorPlugin = require('./independent-plugins/app-interceptor-plug
module.exports = function createIndependentPlugins () {
const manifestConfig = process.UNI_MANIFEST
const weixinConfig = manifestConfig['mp-weixin']
const weixinConfig = manifestConfig['mp-weixin'] || {}
const independentSwitch = !!weixinConfig.independent
if (!independentSwitch) return []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册