Multiple .sentryclirc files for different auth configurations #7638
Unanswered
danielbyun
asked this question in
Q&A
Replies: 2 comments 13 replies
-
@danielbyundoes if you are using the Sentry Webpack Plugin, there two ways that come to mind on how you can accomplish this. I recommend the first way.
|
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a pretty complex react project that has builds for different markets. But we don't know the value of the market until UI build is completed and isn't accessible before the build begins on the UI side.
Is there a way for us to make multiple
.sentryclirc
files for different markets?So the idea was to have multiple sentry CLI plugins enabled in the webpack config, but we're able to conditionally assign the
dsn
value depending on the market because that file lives in the UI code (which the value can be accessed).It seems like the cli plugin only reads the file named
.sentryclirrc
, we would like to have.sentryclirrc
and.sentryclirrc-cn
for example.Please let me know if any other info is needed and if this is something thats possible!
Beta Was this translation helpful? Give feedback.
All reactions