Skip to content

Commit 3afb30d

Browse files
committed
perf(whatsapp): narrow runtime setter entry
1 parent 304ff68 commit 3afb30d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

extensions/whatsapp/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineBundledChannelEntry({
1010
exportName: "whatsappPlugin",
1111
},
1212
runtime: {
13-
specifier: "./runtime-api.js",
13+
specifier: "./runtime-setter-api.js",
1414
exportName: "setWhatsAppRuntime",
1515
},
1616
});
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Keep bundled registration fast: the runtime setter is needed during plugin
2+
// bootstrap, but the broad runtime-api barrel pulls in WhatsApp runtime modules.
3+
export { setWhatsAppRuntime } from "./src/runtime.js";

0 commit comments

Comments
 (0)