From b0496ea0046e1d0d54f2d21f97768a806b11a02b Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Mon, 8 Jan 2024 09:38:32 -0500 Subject: [PATCH] fix(astro): use correct package name for CF (#10099) Hopefully this fixes https://github.com/getsentry/sentry-javascript/issues/9777 --- packages/astro/src/integration/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/integration/index.ts b/packages/astro/src/integration/index.ts index 142a0b0b3019..4e68053fea6d 100644 --- a/packages/astro/src/integration/index.ts +++ b/packages/astro/src/integration/index.ts @@ -84,7 +84,7 @@ export const sentryAstro = (options: SentryOptions = {}): AstroIntegration => { // Prevent Sentry from being externalized for SSR. // Cloudflare like environments have Node.js APIs are available under `node:` prefix. // Ref: https://developers.cloudflare.com/workers/runtime-apis/nodejs/ - if (config?.adapter?.name.startsWith('@astro/cloudflare')) { + if (config?.adapter?.name.startsWith('@astrojs/cloudflare')) { updateConfig({ vite: { ssr: {