@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -126,3 +126,3 @@ const fs = require('fs') | ||
}) => pages.forEach(page => { | ||
subPageCallback && subPageCallback(root, page) | ||
root && subPageCallback && subPageCallback(root, page) | ||
})) | ||
@@ -157,5 +157,7 @@ } | ||
}) => pages.forEach(page => { | ||
const pagePath = normalizePath(path.join(root, page.path)) | ||
process.UNI_ENTRY[pagePath] = getMainJsPath(pagePath) | ||
process.UNI_SUB_PACKAGES_ROOT[pagePath] = root | ||
if (root) { | ||
const pagePath = normalizePath(path.join(root, page.path)) | ||
process.UNI_ENTRY[pagePath] = getMainJsPath(pagePath) | ||
process.UNI_SUB_PACKAGES_ROOT[pagePath] = root | ||
} | ||
})) | ||
@@ -162,0 +164,0 @@ } |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"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
30285
663