You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-26 21:23:26 +03:00
Electron support
From https://github.com/vector-im/vector-web/pull/2511 but with just the actual electron changes
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user