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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user