You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've hit this error the other way around: this library is using the weakmap package to polyfill the WeakMap builtin, but the polyfill declares the prototype of the WeakMap class in a way that minifiers like Uglify or Terser can't understand, so either the name of the methods get mangled or the methods are removed altogether. Seeing as WeakMap has been supported by all major platforms for a few years by now, I'd suggest either doing away with the polyfill (that would also close #6 I suppose) or only loading it if it's actually needed.
Hi, Thanks for putting the code out there, it's just what I'm looking for.
When I run a minified production build of my code I'm getting an error message in TraceError code:
m.has is not a function TypeError: m.has is not a function
this occurs at:
Is this a known error? Any work-arounds?
Thanks.
The text was updated successfully, but these errors were encountered: