2 * Detect Electron renderer / nwjs process, which is node, but we should
6 if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
7 module.exports = require('./browser.js');
9 module.exports = require('./node.js');