diff --git a/support/webpack.config.js b/support/webpack.config.js index 82c86a3c5..282f971d7 100644 --- a/support/webpack.config.js +++ b/support/webpack.config.js @@ -11,6 +11,7 @@ module.exports = { filename: "socket.io.js", library: "io", libraryTarget: "umd", + globalObject: "this", }, mode: "development", devtool: "source-map",