mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
perf(channels): narrow slow bundled channel entry imports
This commit is contained in:
3
extensions/bluebubbles/channel-plugin-api.ts
Normal file
3
extensions/bluebubbles/channel-plugin-api.ts
Normal 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";
|
||||
@@ -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: {
|
||||
|
||||
3
extensions/signal/channel-plugin-api.ts
Normal file
3
extensions/signal/channel-plugin-api.ts
Normal 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";
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user