Skip to content

fix(replay): Temporarily replace __DEBUG_BUILD__ with true #6341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/replay/config/rollup.config.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const config = defineConfig({
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
// @ts-ignore not gonna deal with types here
__SENTRY_DEBUG__: !IS_PRODUCTION,
// @ts-ignore __DEBUG_BUILD__ variable isn't yet replaced correctly at build time so
// we need to set this as true.
__DEBUG_BUILD__: true,
},
}),
],
Expand Down