跳转到内容

BundleMode

此内容尚不支持你的语言。

BundleMode = "local" | "lazy" | "remote"

Defined in: asset/AddressableManifest.ts:83

Delivery mode for an addressable group — the single typed source of truth for what was historically a bare bundleMode: string scattered across the cook / export / runtime sides.

  • local — ships in the main package, loaded eagerly (current default; the value exportWeChat emits today).
  • lazy — ships in a subpackage (e.g. a WeChat 分包), loaded on demand.
  • remote — fetched from a remote / CDN URL on demand.