mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Karma: fix warning by ignoring olm
If olm is not installed, the webpack build for the karma tests gives an ugly error. None of the tests currently care if olm is installed or not, so fix this for now by just ignoring the olm module.
This commit is contained in:
parent
8cd4637316
commit
795986f146
@ -131,6 +131,11 @@ module.exports = function (config) {
|
|||||||
path.resolve('./test'),
|
path.resolve('./test'),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
plugins: [
|
||||||
|
// olm may not be installed, so avoid webpack warnings by
|
||||||
|
// ignoring it.
|
||||||
|
new webpack.IgnorePlugin(/^olm$/),
|
||||||
|
],
|
||||||
devtool: 'inline-source-map',
|
devtool: 'inline-source-map',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user