Merge pull request #3293 from matrix-org/travis/fix-karma

Misc fixes to karma webpack
This commit is contained in:
Travis Ralston
2019-08-08 17:31:39 -06:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ process.env.PHANTOMJS_BIN = 'node_modules/.bin/phantomjs';
function fileExists(name) {
try {
fs.statSync(gsCss);
fs.statSync(name);
return true;
} catch (e) {
return false;
@@ -166,7 +166,7 @@ module.exports = function (config) {
]
},
{
test: /\.(gif|png|svg|ttf)$/,
test: /\.(gif|png|svg|ttf|woff2)$/,
loader: 'file-loader',
},
],