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
When optimizing some code sent to the browser with browserify, I expose a constructor function as Message, but when I evaluate the generated code, I see that Message: function b(d), so I lose the constructor name, so I cannot see the correct object types once instanciated.
Is there a way to keep constructor function unmangled?
The text was updated successfully, but these errors were encountered:
When optimizing some code sent to the browser with browserify, I expose a constructor function as
Message
, but when I evaluate the generated code, I see thatMessage: function b(d)
, so I lose the constructor name, so I cannot see the correct object types once instanciated.Is there a way to keep constructor function unmangled?
The text was updated successfully, but these errors were encountered: