Skip to content

Fix ReferenceError: process is not defined when in browser#85

Open
LokiMidgard wants to merge 1 commit into
crosstype:masterfrom
LokiMidgard:ReferenceError-process
Open

Fix ReferenceError: process is not defined when in browser#85
LokiMidgard wants to merge 1 commit into
crosstype:masterfrom
LokiMidgard:ReferenceError-process

Conversation

@LokiMidgard
Copy link
Copy Markdown

According to the Readme it should work in the browser. But for me it faild.

I applied a patch to check if process is existing before accessing it.

This lib is cool and excectly what I needed. There is already another PR (#43) that seems to fix this by changing the build. But its scope is much broader, so I thought I share my changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant