Duplicate global variable names #16423
Unanswered
Jinxishihenian
asked this question in
Q&A
Replies: 2 comments 3 replies
-
We don't do it, do you have non official plugins? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I had the same problem and worked on it for days, The esbuild configuration needs to be closed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug report
What is the current behavior?
After packaging the file, the global variable name is repeated, resulting in the variable is overwritten, call the wrong method, resulting in an error.
If the current behavior is a bug, please provide the steps to reproduce.
Execute the command “cross-env BUILD_ENV=dev umi build“
What is the expected behavior?
Global variable definitions do not affect each other
Other relevant information:
webpack version: 5.6.0
Node.js version: 16.14.2
Operating System: win 10
Additional tools:
Related images
Beta Was this translation helpful? Give feedback.
All reactions