diff --git a/scripts/buildAssets/index.ts b/scripts/buildAssets/index.ts index a3b5cf0a8..d40ef5aa9 100644 --- a/scripts/buildAssets/index.ts +++ b/scripts/buildAssets/index.ts @@ -44,5 +44,11 @@ const methods = [ ]; for (const method of methods) { - if (allTargets || targets?.includes(method.name)) await method(); + if (allTargets || targets?.includes(method.name)) { + try { + await method(); + } catch (error) { + console.warn(`Failed method ${method.name}; skipping...`, error); + } + } }