Drab webpack problem - Uncaught ReferenceError: require is not defined

Cool.

So, the configuration:

config :drab, socket_constructor: "window.socket"

would fix your issue? I understand you now just hacked Drab changing its JS file, yes?