kopia lustrzana https://github.com/Tldraw/Tldraw
sentry
rodzic
a9bcf7b15f
commit
61a8401d29
|
@ -2,13 +2,6 @@ const withPWA = require('next-pwa')
|
||||||
const { withSentryConfig } = require('@sentry/nextjs')
|
const { withSentryConfig } = require('@sentry/nextjs')
|
||||||
|
|
||||||
const SentryWebpackPluginOptions = {
|
const SentryWebpackPluginOptions = {
|
||||||
// Additional config options for the Sentry Webpack plugin. Keep in mind that
|
|
||||||
// the following options are set automatically, and overriding them is not
|
|
||||||
// recommended:
|
|
||||||
// release, url, org, project, authToken, configFile, stripPrefix,
|
|
||||||
// urlPrefix, include, ignore
|
|
||||||
// For all available options, see:
|
|
||||||
// https://github.com/getsentry/sentry-webpack-plugin#options.
|
|
||||||
silent: process.env.NODE_ENV === 'development',
|
silent: process.env.NODE_ENV === 'development',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,15 +2,13 @@
|
||||||
// The config you add here will be used whenever a page is visited.
|
// The config you add here will be used whenever a page is visited.
|
||||||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
||||||
|
|
||||||
import * as Sentry from '@sentry/nextjs'
|
import * as Sentry from '@sentry/nextjs';
|
||||||
|
|
||||||
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
|
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
|
||||||
|
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn:
|
dsn: SENTRY_DSN || 'https://d88435642612471d93823489a56ae053@o578706.ingest.sentry.io/5824198',
|
||||||
SENTRY_DSN ||
|
|
||||||
'https://d88435642612471d93823489a56ae053@o578706.ingest.sentry.io/5824198',
|
|
||||||
// Note: if you want to override the automatic release value, do not set a
|
// Note: if you want to override the automatic release value, do not set a
|
||||||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
||||||
// that it will also get attached to your source maps
|
// that it will also get attached to your source maps
|
||||||
})
|
});
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
defaults.url=https://sentry.io/
|
||||||
|
defaults.org=stephen-ruiz-ltd
|
||||||
|
defaults.project=tldraw
|
||||||
|
auth.token=ac78d09cacd9445abb362a84d071534aef34b84d39704b1fa03f271417b07d30
|
||||||
|
cli.executable=../../../.npm/_npx/a8388072043b4cbc/node_modules/@sentry/cli/bin/sentry-cli
|
|
@ -2,15 +2,13 @@
|
||||||
// The config you add here will be used whenever the server handles a request.
|
// The config you add here will be used whenever the server handles a request.
|
||||||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
||||||
|
|
||||||
import * as Sentry from '@sentry/nextjs'
|
import * as Sentry from '@sentry/nextjs';
|
||||||
|
|
||||||
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN
|
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
|
||||||
|
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn:
|
dsn: SENTRY_DSN || 'https://d88435642612471d93823489a56ae053@o578706.ingest.sentry.io/5824198',
|
||||||
SENTRY_DSN ||
|
|
||||||
'https://d88435642612471d93823489a56ae053@o578706.ingest.sentry.io/5824198',
|
|
||||||
// Note: if you want to override the automatic release value, do not set a
|
// Note: if you want to override the automatic release value, do not set a
|
||||||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
|
||||||
// that it will also get attached to your source maps
|
// that it will also get attached to your source maps
|
||||||
})
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue