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:
parent
3c55629208
commit
ddb2ff5994
1 changed files with 3 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue