useProxyPer[target.constructor.name]: name will be mangled in minified code
fuqiang-code opened this issue · comments
Solutions I use temporarily:
Object.defineProperty(request.constructor, 'name', {
get(): any {
return 'HTTPRequest'
},
})
Object.defineProperty(this.logInPage.constructor, 'name', { get(): any { return 'CDPPage' }, })
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.