I am using Sentry in a react component that is eventually served up as an embedded component on another team’s website page. The issue I am running into is we are setting the sentry environment in our jenkins build for our component. When the component (and sentry) gets initialized, the environmental variable is no longer available and defaults to an environment I don’t want.
Has anyone ran into this issue before? Is there any solution besides attempting to save a variable during build time that can be read during initialization?