👁 View: index.js
Path: /home/thiqat5/sb.thiqatech.com/node_modules/debug/src/index.js
Size: 263 B · Modified: 2017-09-22 17:41:34 · Perm: 0644 · Writable
/**
 * Detect Electron renderer process, which is node, but we should
 * treat as a browser.
 */

if (typeof process === 'undefined' || process.type === 'renderer') {
  module.exports = require('./browser.js');
} else {
  module.exports = require('./node.js');
}