From 9f8b2ba4ba1d31ee92a6ae1340daabfb63722d57 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 1 Jun 2017 18:58:07 +0100 Subject: [PATCH] maybe fixxy? Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- karma.conf.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/karma.conf.js b/karma.conf.js index 4ad72b4927..d544248332 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -177,6 +177,11 @@ module.exports = function (config) { ], }, devtool: 'inline-source-map', + externals: { + // Don't try to bundle electron: leave it as a commonjs dependency + // (the 'commonjs' here means it will output a 'require') + "electron": "commonjs electron", + }, }, webpackMiddleware: {