💚 Fix Sentry sourcemap upload

Closes #405
This commit is contained in:
Baptiste Arnaud
2023-03-21 13:58:05 +01:00
parent b4536abc2f
commit 90cb0750b8
6 changed files with 640 additions and 564 deletions

View File

@@ -13,7 +13,7 @@
"test:report": "pnpm playwright show-report"
},
"dependencies": {
"@sentry/nextjs": "7.43.0",
"@sentry/nextjs": "7.44.1",
"@trpc/server": "10.16.0",
"@typebot.io/js": "workspace:*",
"@typebot.io/react": "workspace:*",

View File

@@ -1,7 +1,3 @@
// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from '@sentry/nextjs'
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN