From 514c974bf0d2d52d33d3851031600a273ce2c90a Mon Sep 17 00:00:00 2001 From: matthieu42morin Date: Thu, 21 Mar 2024 01:25:35 +0100 Subject: [PATCH] sentry sessions,, tsconfig target to es6 for testing --- src/hooks.client.ts | 6 +++++- tsconfig.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/hooks.client.ts b/src/hooks.client.ts index 557758b..0a41184 100644 --- a/src/hooks.client.ts +++ b/src/hooks.client.ts @@ -14,7 +14,11 @@ Sentry.init({ replaysOnErrorSampleRate: 1.0, // 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` diff --git a/tsconfig.json b/tsconfig.json index e669678..ad3456e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "strict": true, // custom compiler options "noEmit": true, - "target": "ES2018", + "target": "ES6", "module": "ES2022", "moduleResolution": "Bundler", "allowSyntheticDefaultImports": true,