Merge pull request #997 from matrix-org/t3chguy/external_electron

maybe fixxy [Electron] external thing?
This commit is contained in:
Richard van der Hoff 2017-06-01 19:05:50 +01:00 committed by GitHub
commit d0c1da580f

View file

@ -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: {