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

2
.npmrc
View file

@ -1,3 +1,3 @@
legacy-peer-deps=true legacy-peer-deps=true
save-exact = true save-exact=true
@matrix-org:registry=https://gitlab.matrix.org/api/v4/projects/27/packages/npm/ @matrix-org:registry=https://gitlab.matrix.org/api/v4/projects/27/packages/npm/

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'}