Initial commit from monorepo
This commit is contained in:
12
sentry.client.config.ts
Normal file
12
sentry.client.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import * as Sentry from '@sentry/nuxt'
|
||||
|
||||
const config = useRuntimeConfig()
|
||||
|
||||
Sentry.init({
|
||||
dsn: config.public.sentryDsn,
|
||||
environment: process.env.NODE_ENV || 'production',
|
||||
integrations: [
|
||||
Sentry.browserTracingIntegration()
|
||||
],
|
||||
tracesSampleRate: 0.1
|
||||
})
|
||||
Reference in New Issue
Block a user