Merge pull request #201 from shumaiOne/fix/transcode-pdf-font

fix(transcode): mark pdfkit as external and extract for docker runtime
This commit is contained in:
Yiling-J
2026-07-20 16:16:05 +08:00
committed by GitHub
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ await Bun.build({
'@temporalio/client', '@temporalio/client',
'@temporalio/worker', '@temporalio/worker',
'@temporalio/workflow', '@temporalio/workflow',
'pdfkit',
], ],
// compile: { // compile: {
// outfile: 'Shumai', // outfile: 'Shumai',
+1
View File
@@ -33,6 +33,7 @@ const commonExternal = [
'@temporalio/client', '@temporalio/client',
'@temporalio/worker', '@temporalio/worker',
'@temporalio/workflow', '@temporalio/workflow',
'pdfkit',
'prisma', 'prisma',
'zod', 'zod',
] ]
+1
View File
@@ -13,6 +13,7 @@ const depsToExtract = [
'@temporalio/client', '@temporalio/client',
'@temporalio/worker', '@temporalio/worker',
'@temporalio/workflow', '@temporalio/workflow',
'pdfkit',
'prisma', 'prisma',
'sharp', 'sharp',
] ]