From 2d049782d8d9179d28807567dfa0daeb39dbfb7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 28 Jan 2014 11:21:57 +0100 Subject: [PATCH] editor: build - configurable optimize strategy --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 5427659..a97d77c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -23,7 +23,7 @@ module.exports = function(grunt) { // The following two settings are required for source maps to work, // see: http://requirejs.org/docs/optimization.html#sourcemaps preserveLicenseComments: false, - optimize: 'uglify2' + optimize: grunt.option('optimize') || 'uglify2' } } }, -- 2.20.1