Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

fix: access 'process' through global variable #399

Merged
merged 1 commit into from
Nov 28, 2017
Merged

Conversation

kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek commented Nov 27, 2017

This fixes correct code behavior when bundled using webpack. Otherwise, our bundled SDK will always yield undefined for anything we want to read from process variable.

And we do need to access it to gather environment information like node version.

Related: getsentry/sentry#6626

@kamilogorek kamilogorek merged commit 228c609 into master Nov 28, 2017
@kamilogorek kamilogorek deleted the global-process branch November 28, 2017 11:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants