mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 14:45:46 +00:00
Keep matrix SDK external in bundle checks
This commit is contained in:
@@ -26,6 +26,12 @@ describe("plugin-sdk bundled exports", () => {
|
||||
clean: false,
|
||||
config: false,
|
||||
dts: false,
|
||||
deps: {
|
||||
// Match the production host build contract: Matrix SDK packages stay
|
||||
// external so the heavy runtime surface does not fold multiple
|
||||
// matrix-js-sdk entrypoints into one bundle artifact.
|
||||
neverBundle: ["@lancedb/lancedb", "@matrix-org/matrix-sdk-crypto-nodejs", "matrix-js-sdk"],
|
||||
},
|
||||
// Full plugin-sdk coverage belongs to `pnpm build`, package contract
|
||||
// guardrails, and `subpaths.test.ts`. This file only keeps the expensive
|
||||
// bundler path honest across representative entrypoint families.
|
||||
|
||||
@@ -155,7 +155,7 @@ export default defineConfig([
|
||||
// and bundled hooks in one graph so runtime singletons are emitted once.
|
||||
entry: buildUnifiedDistEntries(),
|
||||
deps: {
|
||||
neverBundle: ["@lancedb/lancedb"],
|
||||
neverBundle: ["@lancedb/lancedb", "@matrix-org/matrix-sdk-crypto-nodejs", "matrix-js-sdk"],
|
||||
},
|
||||
}),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user