We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0a35d commit 76338d7Copy full SHA for 76338d7
support/webpack.config.js
@@ -11,18 +11,7 @@ module.exports = {
11
filename: "engine.io.js",
12
library: "eio",
13
libraryTarget: "umd",
14
- // see https://github.com/webpack/webpack/issues/6525
15
- globalObject: `(() => {
16
- if (typeof self !== 'undefined') {
17
- return self;
18
- } else if (typeof window !== 'undefined') {
19
- return window;
20
- } else if (typeof global !== 'undefined') {
21
- return global;
22
- } else {
23
- return Function('return this')();
24
- }
25
- })()`
+ globalObject: "this"
26
},
27
mode: "development",
28
node: false,
0 commit comments