perf(whatsapp): narrow runtime setter entry (#85589)

This commit is contained in:
Dallin Romney
2026-05-22 20:59:21 -07:00
committed by GitHub
parent bb5abefcf5
commit 463929d794
2 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ export default defineBundledChannelEntry({
exportName: "whatsappPlugin",
},
runtime: {
specifier: "./runtime-api.js",
specifier: "./runtime-setter-api.js",
exportName: "setWhatsAppRuntime",
},
});

View File

@@ -0,0 +1,3 @@
// Keep bundled registration fast: the runtime setter is needed during plugin
// bootstrap, but the broad runtime-api barrel pulls in WhatsApp runtime modules.
export { setWhatsAppRuntime } from "./src/runtime.js";