fix(build): externalize Feishu Lark SDK

Externalize @larksuiteoapi/node-sdk from the bundled Feishu ESM runtime so packaged startup loads the SDK as a plugin-local runtime dependency instead of inlining the SDK's ESM __dirname path.

Adds changelog credit and a tsdown-config regression assertion.

Fixes #76291.
Fixes #76494.

Co-authored-by: Chris Zhang <4436110+zqchris@users.noreply.github.com>
This commit is contained in:
Chris Zhang
2026-05-03 14:27:13 +08:00
committed by GitHub
parent 14312ff570
commit cb7b2850e4
3 changed files with 9 additions and 1 deletions

View File

@@ -160,6 +160,7 @@ const bundledPluginFile = (pluginId: string, relativePath: string) =>
`${bundledPluginRoot(pluginId)}/${relativePath}`;
const explicitNeverBundleDependencies = [
"@lancedb/lancedb",
"@larksuiteoapi/node-sdk",
"@matrix-org/matrix-sdk-crypto-nodejs",
"matrix-js-sdk",
"qrcode-terminal",