From: Aleksander Ɓukasz Date: Tue, 28 Jan 2014 10:21:57 +0000 (+0100) Subject: editor: build - configurable optimize strategy X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/2d049782d8d9179d28807567dfa0daeb39dbfb7e editor: build - configurable optimize strategy --- 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' } } },