mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Merge pull request #997 from matrix-org/t3chguy/external_electron
maybe fixxy [Electron] external thing?
This commit is contained in:
commit
d0c1da580f
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user