Newer
Older
vue-indexer / node_modules / debug / src / index.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 314 bytes v1.0
/**
 * Detect Electron renderer / nwjs process, which is node, but we should
 * treat as a browser.
 */

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