diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -2,7 +2,7 @@ var lib = require('./mappersmith')
 var _process, defaultGateway
 
 // Prevents webpack to load the nodejs processs polyfill
-try { _process = eval('typeof process === "object" ? process : null') } catch (e) {}
+try { _process = eval('typeof process === "object" ? process : undefined') } catch (e) {}
 
 if (typeof XMLHttpRequest !== 'undefined') {
   // For browsers use XHR adapter
diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -13,7 +13,7 @@ if (typeof window !== 'undefined' && window !== null) {
 }
 
 let _process, getNanoSeconds, loadTime;
-try { _process = eval('typeof process === "object" ? process : null') } catch (e) {}
+try { _process = eval('typeof process === "object" ? process : undefined') } catch (e) {}
 
 const hasProcessHrtime = () => {
   return (typeof _process !== 'undefined' && _process !== null) && _process.hrtime
Switch null with undefined on process evaluation