提交 13980d00 编写于 作者: fxy060608's avatar fxy060608 提交者: qiang

fix(v3): render = native

上级 9b3ea579
......@@ -266,7 +266,11 @@ module.exports = function configureWebpack (platformOptions, manifestPlatformOpt
if (process.env.NODE_ENV === 'development') {
const sourceMap = require('@dcloudio/uni-cli-shared/lib/source-map')
let isAppService = false
if (process.env.UNI_PLATFORM === 'app-plus' && vueOptions.pluginOptions['uni-app-plus']) {
if (
process.env.UNI_PLATFORM === 'app-plus' &&
vueOptions.pluginOptions &&
vueOptions.pluginOptions['uni-app-plus']
) {
isAppService = !!vueOptions.pluginOptions['uni-app-plus'].service
}
if (process.env.UNI_PLATFORM === 'h5' || isAppService) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册