Merge pull request #997 from matrix-org/t3chguy/external_electron
maybe fixxy [Electron] external thing?
This commit is contained in:
commit
d0c1da580f
1 changed files with 5 additions and 0 deletions
|
@ -177,6 +177,11 @@ module.exports = function (config) {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
devtool: 'inline-source-map',
|
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: {
|
webpackMiddleware: {
|
||||||
|
|
Loading…
Reference in a new issue