From b60ea67a11380c64836aeec240eaad1a040a877b Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 13 Dec 2018 17:41:27 +0100 Subject: [PATCH] Disable source-map generation when running tests This should save, a little bit of, time/resources on the bots since source-maps aren't used for anything during testing. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 8dcff5b0f..70d9daca5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -145,7 +145,7 @@ function createWebpackConfig(defines, output) { var licenseHeaderLibre = fs.readFileSync('./src/license_header_libre.js').toString(); var enableSourceMaps = !bundleDefines.FIREFOX && !bundleDefines.MOZCENTRAL && - !bundleDefines.CHROME; + !bundleDefines.CHROME && !bundleDefines.TESTING; var skipBabel = bundleDefines.SKIP_BABEL || process.env['SKIP_BABEL'] === 'true';