Skip to content

sentry.server.config.js fills up with globalThis #17179

@johnnydecimal

Description

@johnnydecimal

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/astro

SDK Version

9.41.0

Framework Version

Astro 5.12.3

Link to Sentry event

No response

Reproduction Example/SDK Setup

https://github.com/johnnydecimal/astro-sentry

Steps to Reproduce

  1. Run npm run astro check, or a build.
  2. Check sentry.server.config.js.
  3. Do it again and watch the globalThis entries just pile up.

Expected Result

I don't know if we're expecting a single globalThis block there? Presumably it has some purpose? But we definitely aren't expecting them to just be concatenated to the end.

FWIW mine are 350+ lines long each. The file grows out of control real fast.

Actual Result

As above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions