mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
test: allow browser indirect zod runtime dependency
This commit is contained in:
@@ -15,6 +15,11 @@ const OPTIONAL_UNDECLARED_RUNTIME_IMPORTS = new Map<string, Set<string>>([
|
||||
],
|
||||
]);
|
||||
const INDIRECT_RUNTIME_DEPENDENCIES = new Map<string, Set<string>>([
|
||||
[
|
||||
"extensions/browser",
|
||||
// The MCP SDK loads zod through its server/zod-compat runtime path.
|
||||
new Set(["zod"]),
|
||||
],
|
||||
[
|
||||
"extensions/whatsapp",
|
||||
// Baileys loads jimp as an optional peer when it needs media thumbnails.
|
||||
|
||||
Reference in New Issue
Block a user