Skip to content

@sentry/aws-serverless Has No ESM Artifacts #11965

@jd-carroll

Description

@jd-carroll

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/aws-serverless

SDK Version

8.0.0-rc.2

Framework Version

No response

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

  1. npm install @sentry/aws-serverless@8.0.0-rc.2
  2. Inspect installed package.json to confirm module exports
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "import": {
        "types": "./types/index.d.ts",
        "default": "./esm/index.js"
      },
      "require": {
        "types": "./types/index.d.ts",
        "default": "./cjs/index.js"
      }
    },
  1. Look for the ./esm folder in the root of the module

Expected Result

The ./esm folder to exist in the root of the module

Actual Result

What am I missing? I feel like I am doing something wrong...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions