Re-exported version variable causes an issue in production build #4217
Labels
bug
Something isn't working
priority:p1
Bugs which cause problems in end-user applications such as crashes, data inconsistencies, etc
What happened?
Steps to Reproduce
Due to confidentiality reasons, I cannot share the codebase with you. However, we have issues stemming from this second
export * from './version'
statement. Notice it is already defined previously here.We are using webpack
4.16.1
and typescript4.3.5
in our project. It would be awesome if you could push a fix removing this second unnecessary export statement so our minified build stops failing. We've invested several days into trying to identify the issue, and it seems that removing it may be the way to get our project to compile without having to make massive changes to our dependencies.We are getting the following error due to the second import statement:
Cannot redefine property: VERSION
Expected Result
There should be no opentelemetry package that unnecessarily exports the same thing twice.
Actual Result
Opentelemetry currently star exports from the same file twice.
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: