Skip to content

feat: bundle code with bun when runtime is bun #2658

@capaj

Description

@capaj

Is your feature request related to a problem? Please describe.

I realized trigger.dev still bundles with esbuild when using bun runtime.
This can easily create discrepancies when the code is written with bun and tested with bun.
For example when using bunfig.toml to define custom loaders-these won't work at all in trigger. One issue I logged earlier is: #2657

Describe the solution you'd like to see

Use bun for bundling the code when runtime is bun

Describe alternate solutions

cannot think of any

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions