@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.9 to 0.2.91
@@ -171,3 +171,4 @@ const fs = require('fs') | ||
getPlatformVue () { | ||
if (process.env.UNI_PLATFORM !== 'h5' && process.env.UNI_USING_COMPONENTS) { | ||
if (process.env.UNI_USING_COMPONENTS && | ||
(process.env.UNI_PLATFORM === 'mp-weixin' || process.env.UNI_PLATFORM === 'app-plus')) { | ||
return uniRuntime | ||
@@ -178,3 +179,4 @@ } | ||
getPlatformCompiler () { | ||
if (process.env.UNI_PLATFORM !== 'h5' && process.env.UNI_USING_COMPONENTS) { | ||
if (process.env.UNI_USING_COMPONENTS && | ||
(process.env.UNI_PLATFORM === 'mp-weixin' || process.env.UNI_PLATFORM === 'app-plus')) { | ||
return require(uniCompiler) | ||
@@ -181,0 +183,0 @@ } |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.9", | ||
"version": "0.2.91", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37034
853
31