Skip to content

Commit

Permalink
fix: add default export for process polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 5, 2022
1 parent 0e9afae commit 45d859f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/polyfill/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import _process from '../node/process/index'
import _global from './globalThis'

_global.process = _global.process || _process

export default _global.process

0 comments on commit 45d859f

Please sign in to comment.