Customize how your project is built and deployed to Trigger.dev with build extensions
@trigger.dev/build
package into your devDependencies
, or you can create your own.
Build extensions are added to your trigger.config.ts
file under the build.extensions
property:
@trigger.dev/build
package:
trigger.config.ts
file.
Extension | Description |
---|---|
prismaExtension | Using prisma in your Trigger.dev tasks |
pythonExtension | Execute Python scripts in your project |
playwright | Use Playwright in your Trigger.dev tasks |
puppeteer | Use Puppeteer in your Trigger.dev tasks |
ffmpeg | Use FFmpeg in your Trigger.dev tasks |
aptGet | Install system packages in your build image |
additionalFiles | Copy additional files to your build image |
additionalPackages | Install additional npm packages in your build image |
syncEnvVars | Automatically sync environment variables from external services to Trigger.dev |
syncVercelEnvVars | Automatically sync environment variables from Vercel to Trigger.dev |
esbuildPlugin | Add existing or custom esbuild extensions to customize your build process |
emitDecoratorMetadata | Enable emitDecoratorMetadata in your TypeScript build |
audioWaveform | Add Audio Waveform to your build image |