sentry sessions,, tsconfig target to es6 for testing

This commit is contained in:
matthieu42morin 2024-03-21 01:25:35 +01:00
parent 0d282adf3f
commit 514c974bf0
2 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,11 @@ Sentry.init({
replaysOnErrorSampleRate: 1.0, replaysOnErrorSampleRate: 1.0,
// If you don't want to use Session Replay, just remove the line below: // If you don't want to use Session Replay, just remove the line below:
integrations: [replayIntegration()], integrations: [replayIntegration({
maskAllText: false,
blockAllMedia: false,
})
],
}); });
// If you have a custom error handler, pass it to `handleErrorWithSentry` // If you have a custom error handler, pass it to `handleErrorWithSentry`

View File

@ -11,7 +11,7 @@
"strict": true, "strict": true,
// custom compiler options // custom compiler options
"noEmit": true, "noEmit": true,
"target": "ES2018", "target": "ES6",
"module": "ES2022", "module": "ES2022",
"moduleResolution": "Bundler", "moduleResolution": "Bundler",
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,