提交 69ccfdda 编写于 作者: Q qiang

Merge commit 'f32384bf' into alpha

......@@ -44,7 +44,7 @@ module.exports = {
return copyOptions
},
chainWebpack (config, vueOptions) {
const isAppService = !!vueOptions.pluginOptions['uni-app-plus'].service
const isAppService = vueOptions.pluginOptions && !!vueOptions.pluginOptions['uni-app-plus'].service
if (isAppService) {
const subPackages = Object.keys(process.UNI_SUBPACKAGES)
if (process.env.UNI_OPT_SUBPACKAGES && subPackages.length) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册