preprocessContext[process.env.UNI_PLATFORM.toUpperCase()] = true
TypeError: Cannot read property 'toUpperCase' of undefined
preprocessContext[process.env.UNI_PLATFORM.toUpperCase()] = true
TypeError: Cannot read property 'toUpperCase' of undefined
1 个回复
9***@qq.com (作者)
"lint": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service lint",
改成这样可以了