@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.940 to 0.2.941
@@ -161,4 +161,16 @@ /** | ||
function getWXComponents (name) { | ||
const oldJsonStr = getJsonFile(name) | ||
if (oldJsonStr) { | ||
const jsonObj = JSON.parse(oldJsonStr) | ||
if (jsonObj.customUsingComponents) { | ||
return Object.assign({}, appJsonUsingComponents, jsonObj.customUsingComponents) | ||
} | ||
} | ||
return Object.assign({}, appJsonUsingComponents) | ||
} | ||
module.exports = { | ||
getComponentSet, | ||
getWXComponents, | ||
getGlobalUsingComponents, | ||
@@ -165,0 +177,0 @@ updateAppJson, |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.940", | ||
"version": "0.2.941", | ||
"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
36655
870