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
Hi @Kelin2025 ,
After minifying the code, apicase Spawner crashes due to following check:
if ("ApiService" === n.base.constructor.name).
if ("ApiService" === n.base.constructor.name)
After uglify, n.base.constructor.name is being mangled to a single character, e.g. u. The check for "ApiService obviously fails then.
n.base.constructor.name
u
"ApiService
Is there a way to change the if clause to something that's not being influenced by minification? An internal boolean or something...
For Example there's a flag _isApiService in the base object, why not use that or something similar?
_isApiService
base
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @Kelin2025 ,
After minifying the code, apicase Spawner crashes due to following check:
if ("ApiService" === n.base.constructor.name)
.After uglify,
n.base.constructor.name
is being mangled to a single character, e.g.u
. The check for"ApiService
obviously fails then.Is there a way to change the if clause to something that's not being influenced by minification? An internal boolean or something...
For Example there's a flag
_isApiService
in thebase
object, why not use that or something similar?The text was updated successfully, but these errors were encountered: