*Add process global

This commit is contained in:
Derrick Hammer 2022-07-27 18:46:15 -04:00
parent 869f53938b
commit b351708da7
3 changed files with 5 additions and 0 deletions

View File

@ -10,4 +10,5 @@ esbuild.buildSync({
define: { define: {
global: "self", global: "self",
}, },
inject:['process.js']
}); });

View File

@ -31,6 +31,7 @@
"jest-puppeteer": "^6.1.0", "jest-puppeteer": "^6.1.0",
"libskynetnode": "^0.1.3", "libskynetnode": "^0.1.3",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"process": "^0.11.10",
"puppeteer": "^15.2.0", "puppeteer": "^15.2.0",
"read": "^1.0.7", "read": "^1.0.7",
"rollup": "^2.75.7", "rollup": "^2.75.7",

3
process.js Normal file
View File

@ -0,0 +1,3 @@
export const process = require('process');