You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref: Remove unused SENTRY_BUILD_PRESERVE_MODULES env check from rollup configs (#21487)
The `SENTRY_BUILD_PRESERVE_MODULES` environment variable is never set
anywhere in the codebase, so the `preserveModules` ternary in our
`rollup.npm.config.mjs` files always resolved to its default
(`undefined`) branch.
I _think_ we had this because we experimented with this or used this for
some analysis steps back in the day, but I do not think
anybodoy/anything ever sets this nowadays.
This removes the dead env check across all 9 affected packages,
collapsing each ternary to the static value it always produced:
- `preserveModules: true` — `core`, `server-utils`, `browser`,
`browser-utils`
- `preserveModules: false` — `opentelemetry`, `feedback`,
`profiling-node`, `replay-canvas`, `replay-internal`
No behavior change: build output is identical.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments