Skip to content

Cloudflare Worker: Allow overriding hardcoded esbuild options #6293

@beeirl

Description

@beeirl

The Worker component allows setting esbuild options via transform.server.build.esbuild, but many of them are silently ignored because they're hardcoded in the runtime: https://github.com/sst/sst/blob/dev/pkg/runtime/worker/worker.go#L113
Can we please make these hardcoded options actually configurable via transform.server.build.esbuild? @vimtor

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