adding json loader to karma.conf.js

This commit is contained in:
Jared Tabor 2017-07-14 11:27:57 -07:00
parent d2a914a040
commit 4548801726

View File

@ -49,7 +49,11 @@ module.exports = function(config) {
test: /\.angular.js$/,
loader: 'expose?angular'
},
{
test: /\.json$/,
loader: 'json-loader',
exclude: '/(node_modules)/'
},
{
test: /\.js$/,
loader: 'babel-loader',