Skip to content

Commit

Permalink
Additional fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Jun 5, 2022
1 parent e698b72 commit 5e8f161
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import * as tty from "tty"

if (window && !('process' in window)) {
window.process = {}
}

const env = (process && process.env) || {}
const argv = (process && process.argv) || []

Expand Down

0 comments on commit 5e8f161

Please sign in to comment.