-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
44 lines (43 loc) · 791 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
const globals = {
__DEV__: false,
__dirname: false,
alert: false,
Blob: false,
WebSocket: false,
cancelAnimationFrame: false,
cancelIdleCallback: false,
clearImmediate: true,
clearInterval: false,
clearTimeout: false,
console: false,
escape: false,
Event: false,
EventTarget: false,
exports: false,
fetch: false,
File: false,
FileReader: false,
FormData: false,
global: false,
Map: true,
module: false,
navigator: false,
process: false,
Promise: true,
requestAnimationFrame: true,
requestIdleCallback: true,
require: false,
Set: true,
setImmediate: true,
setInterval: false,
setTimeout: false,
window: false,
XMLHttpRequest: false,
};
module.exports = {
environments: {
all: {
globals: globals,
},
},
};