Skip to content
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

useProxyPer[target.constructor.name]: name will be mangled in minified code #88

Open
fuqiang-code opened this issue Nov 22, 2022 · 2 comments

Comments

@fuqiang-code
Copy link

Solutions I use temporarily:

Object.defineProperty(request.constructor, 'name', {
                    get(): any {
                        return 'HTTPRequest'
                    },
                })
@fuqiang-code
Copy link
Author

Object.defineProperty(this.logInPage.constructor, 'name', { get(): any { return 'CDPPage' }, })

@LegendaryEmoji
Copy link

For anyone having the issue, ignore the person above me and go to this Pull Request and change the stuff to fix all the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants