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()], diff --git a/webpack.config.ts b/webpack.config.ts index 725c0b0a030af..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: { @@ -498,7 +502,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) {