Copy Olm directly from node modules (fixes #206)

This commit is contained in:
Krishan 2022-09-05 10:55:49 +05:30
parent 8583ab19f0
commit 157718093b
3 changed files with 2 additions and 2 deletions

BIN
olm.wasm

Binary file not shown.

View file

@ -53,7 +53,7 @@ module.exports = {
new HtmlWebpackPlugin({ template: './public/index.html' }), new HtmlWebpackPlugin({ template: './public/index.html' }),
new CopyPlugin({ new CopyPlugin({
patterns: [ patterns: [
{ from: 'olm.wasm' }, { from: 'node_modules/@matrix-org/olm/olm.wasm' },
{ from: '_redirects' }, { from: '_redirects' },
{ from: 'config.json' }, { from: 'config.json' },
{ from: 'public/res/android'} { from: 'public/res/android'}