mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
fix(channels): keep bundled setup entries dependency-light
This commit is contained in:
@@ -3,7 +3,7 @@ import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entr
|
||||
export default defineBundledChannelSetupEntry({
|
||||
importMetaUrl: import.meta.url,
|
||||
plugin: {
|
||||
specifier: "./api.js",
|
||||
specifier: "./setup-plugin-api.js",
|
||||
exportName: "qqbotSetupPlugin",
|
||||
},
|
||||
});
|
||||
|
||||
3
extensions/qqbot/setup-plugin-api.ts
Normal file
3
extensions/qqbot/setup-plugin-api.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// Keep bundled setup entry imports narrow so setup loads do not pull the
|
||||
// broader QQ Bot runtime plugin surface.
|
||||
export { qqbotSetupPlugin } from "./src/channel.setup.js";
|
||||
Reference in New Issue
Block a user