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 the base object, why not use that or something similar?
Hi @Kelin2025 ,
After minifying the code, apicase Spawner crashes due to following check:
if ("ApiService" === n.base.constructor.name).After uglify,
n.base.constructor.nameis being mangled to a single character, e.g.u. The check for"ApiServiceobviously 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
_isApiServicein thebaseobject, why not use that or something similar?