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?