You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code pattern came about as a result of the changes in Rollup PR rollup/rollup#4827 and how Terser will shadow the import when possible when mangling.
The text was updated successfully, but these errors were encountered:
Bug report
What is the current behavior?
The calls to static members of the class fail inside the class body when the name of the class in a class expression shadow a import name.
If the current behavior is a bug, please provide the steps to reproduce.
a.mjs:
index.mjs:
Bundled code snippet in
none
mode:Bundled code in
production
mode:Running dist output in either mode:
What is the expected behavior?
Running src code:
Other relevant information:
webpack version: 5.75.0
Node.js version: 19.7.0
Operating System:
Additional tools:
This code pattern came about as a result of the changes in Rollup PR rollup/rollup#4827 and how Terser will shadow the import when possible when mangling.
The text was updated successfully, but these errors were encountered: