Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3293 from matrix-org/travis/fix-karma
Browse files Browse the repository at this point in the history
Misc fixes to karma webpack
  • Loading branch information
turt2live authored Aug 8, 2019
2 parents 3214ed8 + ac9682a commit 78744b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -166,7 +166,7 @@ module.exports = function (config) {
]
},
{
test: /\.(gif|png|svg|ttf)$/,
test: /\.(gif|png|svg|ttf|woff2)$/,
loader: 'file-loader',
},
],
Expand Down

0 comments on commit 78744b8

Please sign in to comment.