diff --git a/packages/integration-tests/utils/generatePage.ts b/packages/integration-tests/utils/generatePage.ts index cdd14e0002c4..ae12f1b8bd6f 100644 --- a/packages/integration-tests/utils/generatePage.ts +++ b/packages/integration-tests/utils/generatePage.ts @@ -100,9 +100,8 @@ export async function generatePage( externals: useBundle ? { // To help Webpack resolve Sentry modules in `import` statements in cases where they're provided in bundles rather than in `node_modules` - '@sentry/browser': 'var Sentry', - '@sentry/tracing': 'var Sentry', - Integrations: 'var Sentry.Integrations', + '@sentry/browser': 'Sentry', + '@sentry/tracing': 'Sentry', } : {}, output: {