mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
No need to make olm an external (#4139)
matrix-js-sdk now loads olm from global.Olm instead of requiring it (https://github.com/matrix-org/matrix-js-sdk/pull/446), so we no longer need to define it as an external.
This commit is contained in:
parent
33cf39e9a0
commit
e868dbbb94
@ -10,7 +10,7 @@ module.exports = {
|
||||
|
||||
// We ship olm.js as a separate lump of javascript. This makes it get
|
||||
// loaded via a separate <script/> tag in index.html (which loads it
|
||||
// into the browser global `Olm`), and define it as an external below.
|
||||
// into the browser global `Olm`, where js-sdk expects to find it).
|
||||
//
|
||||
// (we should probably make js-sdk load it asynchronously at some
|
||||
// point, so that it doesn't block the pageload, but that is a separate
|
||||
@ -99,7 +99,6 @@ 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",
|
||||
|
Loading…
Reference in New Issue
Block a user