summaryrefslogtreecommitdiff
path: root/config/karma.config.js
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-05-31 11:34:41 +0200
committerwinh <winnie@gitlab.com>2017-05-31 11:36:37 +0200
commitd571690b94bf8f8afc2a30415d3df80602187303 (patch)
treee0e9287dbb27d25846ff0bd5fef3a1ff138022a5 /config/karma.config.js
parente20eb71203aa29458d7f51a27d42a3d8208e2494 (diff)
downloadgitlab-ce-d571690b94bf8f8afc2a30415d3df80602187303.tar.gz
Use inline source maps for karma (!11815)winh-karma-sourcemaps
Diffstat (limited to 'config/karma.config.js')
-rw-r--r--config/karma.config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/karma.config.js b/config/karma.config.js
index eb082dd28bf..40c58e7771d 100644
--- a/config/karma.config.js
+++ b/config/karma.config.js
@@ -13,6 +13,8 @@ if (webpackConfig.plugins) {
});
}
+webpackConfig.devtool = 'cheap-inline-source-map';
+
// Karma configuration
module.exports = function(config) {
var progressReporter = process.env.CI ? 'mocha' : 'progress';