From 5e01592ee89ce31d615fc1230ee99bc322cc512c Mon Sep 17 00:00:00 2001 From: hipitihop Date: Tue, 30 Aug 2016 12:41:04 +1000 Subject: [PATCH] Update deps and include files for source mapping in karma.conf --- karma.conf.js | 3 ++- project.clj | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 0540c08..d34e93b 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -7,7 +7,8 @@ module.exports = function (config) { browsers: ['Chrome'], files: [ root + '/../test.js', // same as :output-to - {pattern: root + '/../test.js.map', included: false} + {pattern: root + '/../test.js.map', included: false}, + {pattern: root + '/**/*.+(cljs|cljc|clj|js|js.map)', included: false} ], client: { diff --git a/project.clj b/project.clj index bcedaea..139991b 100644 --- a/project.clj +++ b/project.clj @@ -8,11 +8,12 @@ [org.clojure/tools.logging "0.3.1"]] :profiles {:debug {:debug true} - :dev {:dependencies [[karma-reporter "0.3.0"] + :dev {:dependencies [[karma-reporter "1.0.1"] [binaryage/devtools "0.8.1"]] - :plugins [[lein-cljsbuild "1.1.3"] + :plugins [[lein-ancient "0.6.10"] + [lein-cljsbuild "1.1.4"] [lein-npm "0.6.2"] - [lein-figwheel "0.5.4-7"] + [lein-figwheel "0.5.6"] [lein-shell "0.5.0"]]}} :clean-targets [:target-path "run/compiled"]