mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 18:51:04 +00:00
fix: route mattermost bundled entry through plugin api
This commit is contained in:
3
extensions/mattermost/channel-plugin-api.ts
Normal file
3
extensions/mattermost/channel-plugin-api.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// Keep bundled channel entry imports narrow so bootstrap/discovery paths do
|
||||
// not drag the broader Mattermost helper surfaces into lightweight plugin loads.
|
||||
export { mattermostPlugin } from "./src/channel.js";
|
||||
@@ -18,7 +18,7 @@ export default defineBundledChannelEntry({
|
||||
description: "Mattermost channel plugin",
|
||||
importMetaUrl: import.meta.url,
|
||||
plugin: {
|
||||
specifier: "./src/channel.js",
|
||||
specifier: "./channel-plugin-api.js",
|
||||
exportName: "mattermostPlugin",
|
||||
},
|
||||
runtime: {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entr
|
||||
export default defineBundledChannelSetupEntry({
|
||||
importMetaUrl: import.meta.url,
|
||||
plugin: {
|
||||
specifier: "./src/channel.js",
|
||||
specifier: "./channel-plugin-api.js",
|
||||
exportName: "mattermostPlugin",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user