perf(channels): narrow slow bundled channel entry imports

This commit is contained in:
Peter Steinberger
2026-04-20 22:34:11 +01:00
parent 88d97c55c7
commit b248899878
4 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
// Keep bundled channel entry imports narrow so bootstrap/discovery paths do
// not drag setup-only BlueBubbles surfaces into lightweight channel plugin loads.
export { bluebubblesPlugin } from "./src/channel.js";

View File

@@ -6,7 +6,7 @@ export default defineBundledChannelEntry({
description: "BlueBubbles channel plugin (macOS app)",
importMetaUrl: import.meta.url,
plugin: {
specifier: "./api.js",
specifier: "./channel-plugin-api.js",
exportName: "bluebubblesPlugin",
},
secrets: {

View File

@@ -0,0 +1,3 @@
// Keep bundled channel entry imports narrow so bootstrap/discovery paths do
// not drag setup-only Signal surfaces into lightweight channel plugin loads.
export { signalPlugin } from "./src/channel.js";

View File

@@ -6,7 +6,7 @@ export default defineBundledChannelEntry({
description: "Signal channel plugin",
importMetaUrl: import.meta.url,
plugin: {
specifier: "./api.js",
specifier: "./channel-plugin-api.js",
exportName: "signalPlugin",
},
runtime: {