From e9250714d77a897945302d3d0303a121119c594d Mon Sep 17 00:00:00 2001 From: Simon Bailey Date: Wed, 6 May 2015 10:37:34 +0100 Subject: [PATCH] feat: added font loading to karma conf Signed-off-by: Simon Bailey --- templates/common/karma.conf.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/common/karma.conf.js b/templates/common/karma.conf.js index 0503e13..cd51e87 100644 --- a/templates/common/karma.conf.js +++ b/templates/common/karma.conf.js @@ -47,6 +47,12 @@ module.exports = function (config) { },<% } %> { test: /\.css$/, loader: 'style-loader!css-loader' + }, { + test: /\.woff/, + loader: 'url-loader?limit=10000&mimetype=application/font-woff' + }, { + test: /\.woff2/, + loader: 'url-loader?limit=10000&mimetype=application/font-woff2' }] }, resolve: {