Don't try to bundle electron

Turns out this part of the webpack config was necessary, and I've
now figure out what it does, which the comment now hopefully
explains.
This commit is contained in:
David Baker 2016-10-20 14:44:18 +01:00
parent 3c55629208
commit ddb2ff5994

View file

@ -52,6 +52,9 @@ module.exports = {
// loads it into the browser global `Olm`), and reference it as an
// external here.
"olm": "Olm",
// Don't try to bundle electron: leave it as a commonjs dependency
// (the 'commonjs' here means it will output a 'require')
"electron": "commonjs electron",
},
plugins: [
new webpack.DefinePlugin({