Skip to content

Commit

Permalink
Fix process.env detection
Browse files Browse the repository at this point in the history
  • Loading branch information
leofavre committed Jul 17, 2018
1 parent 77a91f0 commit 0db1477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import warning from './utils/warning.js'
function isCrushed() {}

if (
process &&
typeof process !== 'undefined' &&
process.env &&
process.env.NODE_ENV !== 'production' &&
typeof isCrushed.name === 'string' &&
Expand Down

0 comments on commit 0db1477

Please sign in to comment.