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