*Add process global
This commit is contained in:
parent
869f53938b
commit
b351708da7
1
build.js
1
build.js
|
@ -10,4 +10,5 @@ esbuild.buildSync({
|
|||
define: {
|
||||
global: "self",
|
||||
},
|
||||
inject:['process.js']
|
||||
});
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
"jest-puppeteer": "^6.1.0",
|
||||
"libskynetnode": "^0.1.3",
|
||||
"prettier": "^2.7.1",
|
||||
"process": "^0.11.10",
|
||||
"puppeteer": "^15.2.0",
|
||||
"read": "^1.0.7",
|
||||
"rollup": "^2.75.7",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
export const process = require('process');
|
||||
|
||||
|
Loading…
Reference in New Issue