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
- Run
npm run astro check, or a build.
- Check
sentry.server.config.js.
- 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.
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
npm run astro check, or a build.sentry.server.config.js.globalThisentries just pile up.Expected Result
I don't know if we're expecting a single
globalThisblock 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.