From 44343610336c952a081ff21e5183c2758efc2a38 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Sun, 31 Jan 2016 11:44:53 -0500 Subject: [PATCH] Disable sequences and join_vars in uglify. --- Gruntfile.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 2328bb37..d5891153 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -116,12 +116,15 @@ module.exports = function(grunt) { options: { preserveComments: false, banner: banner, + compress: { + sequences: false, + join_vars: false + }, sourceMap: true, - sourceMapName: 'build/openseadragon/openseadragon.min.js.map', - sourceMapIn: 'build/openseadragon/openseadragon.js.map' + sourceMapName: 'build/openseadragon/openseadragon.min.js.map' }, openseadragon: { - src: [ distribution ], + src: sources, dest: minified } },