@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.941 to 0.2.942
@@ -97,3 +97,8 @@ /** | ||
jsonObj.component = true | ||
} else if (type === 'Page') { | ||
if (process.env.UNI_PLATFORM === 'mp-baidu') { | ||
jsonObj.component = true | ||
} | ||
} | ||
jsonObj.usingComponents = usingComponents | ||
@@ -110,3 +115,8 @@ const newJsonStr = JSON.stringify(jsonObj, null, 2) | ||
jsonObj.component = true | ||
} else if (type === 'Page') { | ||
if (process.env.UNI_PLATFORM === 'mp-baidu') { | ||
jsonObj.component = true | ||
} | ||
} | ||
updateJsonFile(name, jsonObj) | ||
@@ -113,0 +123,0 @@ } |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.941", | ||
"version": "0.2.942", | ||
"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
36913
878