@wevu/api 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2256,7 +2256,8 @@ function resolveCurrentMiniProgramHostConfig() {
|
|
|
2256
2256
|
const runtimeRoot = resolveRuntimeRoot();
|
|
2257
2257
|
for (const globalKey of getMiniProgramRuntimeGlobalKeys()) {
|
|
2258
2258
|
if (!resolveRuntimeGlobalValue(globalKey, runtimeRoot)) continue;
|
|
2259
|
-
const
|
|
2259
|
+
const platform = getMiniProgramPlatformByRuntimeGlobalKey(globalKey);
|
|
2260
|
+
const hostConfig = resolveRuntimeGlobalValue(getMiniProgramRuntimeHostConfigKey(platform), runtimeRoot);
|
|
2260
2261
|
return isPlainObject(hostConfig) ? hostConfig : void 0;
|
|
2261
2262
|
}
|
|
2262
2263
|
const defaultHostConfig = resolveRuntimeGlobalValue(getMiniProgramRuntimeHostConfigKey(void 0), runtimeRoot);
|