We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1679a18 commit 3dd303bCopy full SHA for 3dd303b
docs/examples/pdf-to-image.mdx
@@ -8,6 +8,20 @@ description: "This example will show you how to turn a PDF into an image using M
8
9
This example demonstrates how to use Trigger.dev to turn a PDF into a series of images using MuPDF and upload them to Cloudflare R2.
10
11
+## Update your build configuration
12
+
13
+To use this example, add these build settings to your `trigger.config.ts` file:
14
15
+```ts trigger.config.ts
16
+export default defineConfig({
17
+ project: "<project ref>",
18
+ // Your other config settings...
19
+ build: {
20
+ extensions: [aptGet({ packages: ["mupdf-tools", "curl"] })],
21
+ },
22
+});
23
+```
24
25
## Task code
26
27
```ts trigger/pdfToImage.ts
0 commit comments