Release in init or webpack?

Hello all,

I am testing out Sentry and I initially I placed my release ID in the code when I call .init function. However, now I have seen that it can be specified in the Webpack plugin. I think I even saw somewhere that it could be specified in both places.

Which is the way to go? Is there any advantage of using one way over the other or using both at the same time?

Thank you in advance and regards.