@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.982 to 0.2.983
@@ -151,2 +151,12 @@ const fs = require('fs') | ||
preprocessContext['APP-VUE'] = false | ||
preprocessContext['APP_VUE'] = false | ||
preprocessContext['APP-NVUE'] = false | ||
preprocessContext['APP_NVUE'] = false | ||
if (process.env.UNI_PLATFORM === 'app-plus') { | ||
preprocessContext['APP-VUE'] = true | ||
preprocessContext['APP_VUE'] = true | ||
} | ||
if (process.env.UNI_PLATFORM.indexOf('mp-') === 0) { | ||
@@ -173,2 +183,6 @@ preprocessContext['MP'] = true | ||
const nvuePreprocessContext = Object.assign({}, preprocessContext, { | ||
'APP-VUE': false, | ||
'APP_VUE': false, | ||
'APP-NVUE': true, | ||
'APP_NVUE': true, | ||
'APP-PLUS-NVUE': true, | ||
@@ -175,0 +189,0 @@ 'APP_PLUS_NVUE': true |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.982", | ||
"version": "0.2.983", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
48601
1249
45