From 4548801726cc844c9621055ab0bc1409337cabe0 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 14 Jul 2017 11:27:57 -0700 Subject: [PATCH] adding json loader to karma.conf.js --- awx/ui/karma.conf.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/awx/ui/karma.conf.js b/awx/ui/karma.conf.js index 3ae41b7982..bd0b3381eb 100644 --- a/awx/ui/karma.conf.js +++ b/awx/ui/karma.conf.js @@ -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',