mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
fix(build): bundle zod inline to fix pnpm global install resolution (#78515)
Merged via squash.
Prepared head SHA: c925d1afab
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
This commit is contained in:
@@ -183,7 +183,12 @@ function shouldNeverBundleDependency(id: string): boolean {
|
||||
}
|
||||
|
||||
function shouldAlwaysBundleDependency(id: string): boolean {
|
||||
return id === "@openclaw/fs-safe" || id.startsWith("@openclaw/fs-safe/");
|
||||
return (
|
||||
id === "@openclaw/fs-safe" ||
|
||||
id.startsWith("@openclaw/fs-safe/") ||
|
||||
id === "zod" ||
|
||||
id.startsWith("zod/")
|
||||
);
|
||||
}
|
||||
|
||||
function listBundledPluginEntrySources(
|
||||
|
||||
Reference in New Issue
Block a user