Electron support

From https://github.com/vector-im/vector-web/pull/2511 but with
just the actual electron changes
This commit is contained in:
David Baker 2016-11-02 18:49:28 +00:00
parent 8c3fed7559
commit caa3cb7d89
9 changed files with 481 additions and 3 deletions

View file

@ -75,6 +75,9 @@ module.exports = {
},
externals: {
"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({