We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a07ac0c + ce7c0d7 commit d71cf26Copy full SHA for d71cf26
src/wrappers/start.js
@@ -1,6 +1,7 @@
1
(function (root, factory) {
2
'use strict';
3
- if (typeof module === 'object') {
+ var isElectron = typeof module === 'object' && process && process.versions && process.versions.electron;
4
+ if (!isElectron && typeof module === 'object') {
5
module.exports = factory;
6
} else if (typeof define === 'function' && define.amd) {
7
define(function () {
0 commit comments