@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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -1
  2. 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 hostConfig = resolveRuntimeGlobalValue(getMiniProgramRuntimeHostConfigKey(getMiniProgramPlatformByRuntimeGlobalKey(globalKey)), runtimeRoot);
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);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wevu/api",
3
3
  "type": "module",
4
- "version": "0.2.13",
4
+ "version": "0.2.14",
5
5
  "description": "tsdown bundler template",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",