Skip to content

s1gr1d/nuxt-cloudflare-18587

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt Cloudflare with Sentry - Reproduction

This is a minimal reproduction for the issue mentioned in this GitHub discussion: getsentry/sentry-javascript#18587

  • Sentry is set up for Cloudflare with this plugin: server/api/sentry.ts
  • The endpoint with the error is located at: server/api/error-endpoint.ts
  • There is no sentry.client.config.ts file, as Sentry is only set up for the server side (Cloudflare) in this reproduction

Setup

Make sure to install dependencies:

# npm
npm install

And set the variables for the Sentry config:

  • A DSN in server/api/sentry.ts
  • Optionally, add org and project in the nuxt.config.ts file for source map uploads

Build and Reproduce

Build the project:

npm run build

and run the Cloudflare preview:

npm run preview:cf

Locally preview production build:

Check out the deployment documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published