We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rslib 0.3.0
web-infra-dev/rsbuild#4333
The text was updated successfully, but these errors were encountered:
Due to we already set passes: 2 in latest Rspack version (SWC reproduction).
passes: 2
I think the behavior is correct, do we considering enable https://swc.rs/docs/configuration/compilation#jsckeepclassnames or update the snapshot 🤔?
Sorry, something went wrong.
I prefer to keep the class name of Rspack plugins, as some users may use "plugin.constructor.name" to determine a plugin.
I will try the option today.
I just find that Terser mangles class names by default, so using "someClass.constructor.name" is unsafe, I will avoid using it.
constructor.name
No branches or pull requests
Version
Details
Reproduce link
web-infra-dev/rsbuild#4333
Reproduce Steps
The text was updated successfully, but these errors were encountered: