From 4a40b7d60583caf71a548e3b8255d082d6fe0aa0 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Tue, 17 Sep 2024 15:39:38 -0400 Subject: [PATCH 1/3] build: test no sourcemaps for acceptance --- webpack.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.config.ts b/webpack.config.ts index 725c0b0a030af..8a73a368059fd 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -498,7 +498,11 @@ const appConfig: webpack.Configuration = { }), ], }, - devtool: IS_PRODUCTION ? 'source-map' : 'eval-cheap-module-source-map', + devtool: IS_ACCEPTANCE_TEST + ? undefined + : IS_PRODUCTION + ? 'source-map' + : 'eval-cheap-module-source-map', }; if (IS_TEST) { From 667721e2f9337fdc30c4cedee3163c6dcb49a266 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Tue, 17 Sep 2024 15:46:30 -0400 Subject: [PATCH 2/3] disable react sourcemap plugin --- webpack.config.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/webpack.config.ts b/webpack.config.ts index 8a73a368059fd..a0ebc26816037 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -413,10 +413,14 @@ const appConfig: webpack.Configuration = { ], }), - WebpackReactSourcemapsPlugin({ - mode: IS_PRODUCTION ? 'strict' : undefined, - debug: false, - }), + ...(IS_ACCEPTANCE_TEST + ? [] + : [ + WebpackReactSourcemapsPlugin({ + mode: IS_PRODUCTION ? 'strict' : undefined, + debug: false, + }), + ]), ], resolve: { From a58747ec920a5ddec8ecfc4c211d16b1633e5a97 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Tue, 17 Sep 2024 16:04:09 -0400 Subject: [PATCH 3/3] update to demo dns --- build-utils/sentry-instrumentation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-utils/sentry-instrumentation.ts b/build-utils/sentry-instrumentation.ts index c6797c1e22f49..69d34e80c283a 100644 --- a/build-utils/sentry-instrumentation.ts +++ b/build-utils/sentry-instrumentation.ts @@ -46,7 +46,7 @@ class SentryInstrumentation { const {nodeProfilingIntegration} = require('@sentry/profiling-node'); sentry.init({ - dsn: 'https://3d282d186d924374800aa47006227ce9@sentry.io/2053674', + dsn: 'https://07898f7cdd56ebabb2761c0fb54578a1@o87286.ingest.us.sentry.io/4507936144031744', environment: IS_CI ? 'ci' : 'local', tracesSampleRate: 1.0, integrations: [nodeProfilingIntegration()],