Skip to content

Commit

Permalink
fix(astro): use correct package name for CF (#10099)
Browse files Browse the repository at this point in the history
Hopefully this fixes
#9777
  • Loading branch information
anonrig authored Jan 8, 2024
1 parent 3160419 commit b0496ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/integration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit b0496ea

Please sign in to comment.