-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
provide 'magic comments' to preserve classnames/function names #3263
Comments
|
@kzc but that means I have to edit the webpack build config, which is impossible for Moreover, I don't want ALL the class names to be kept - only a few. |
@kzc I like how you searched for such an apt song 👍 please...? |
Having such an option would be absolutely awesome. |
Feature request: magic-comments to keep classnames/function names.
eg).
Why: I had problems with Webpack's uglifyjs mangling class names, when some libraries depended on constructor.name property to work.
specifically, when using Typegoose:
related: webpack/webpack#1659 (comment)
The text was updated successfully, but these errors were encountered: