Copy Olm directly from node modules (fixes #206)
This commit is contained in:
parent
8583ab19f0
commit
157718093b
3 changed files with 2 additions and 2 deletions
2
.npmrc
2
.npmrc
|
@ -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
BIN
olm.wasm
Binary file not shown.
|
@ -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'}
|
||||||
|
|
Loading…
Reference in a new issue