Skip to content

Make @sentry/aws-serverless and @sentry/google-cloud-serverless ESM compat #11066

Description

@AbhiPrasad

The serverless SDKs use require to monkeypatch GCP and AWS related libraries. This does not work with ESM (and it gets even more complicated with bundling).

For now we made those SDKs CJS only, but we should investigate a long term solution to make these packages work with ESM.

### Tasks
- [ ] https://github.com/getsentry/sentry-javascript/pull/11548
- [ ] https://github.com/getsentry/sentry-javascript/issues/11776

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions