fix(transcode): mark pdfkit as external and extract for docker runtime

This commit is contained in:
yiling
2026-07-20 16:12:59 +08:00
parent 047174c13d
commit 3274d19574
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ await Bun.build({
'@temporalio/client',
'@temporalio/worker',
'@temporalio/workflow',
'pdfkit',
],
// compile: {
// outfile: 'Shumai',
+1
View File
@@ -33,6 +33,7 @@ const commonExternal = [
'@temporalio/client',
'@temporalio/worker',
'@temporalio/workflow',
'pdfkit',
'prisma',
'zod',
]
+1
View File
@@ -13,6 +13,7 @@ const depsToExtract = [
'@temporalio/client',
'@temporalio/worker',
'@temporalio/workflow',
'pdfkit',
'prisma',
'sharp',
]