From 8ec4f2f9c5951526c438b1bddd2856dd226d4fd3 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 21 Mar 2014 17:58:59 -0300 Subject: [PATCH] add -target=dev option to grunt to prevent minifying the source --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 76f758c..f6c0b2f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,7 +16,8 @@ module.exports = function(grunt) { stdout: true, stderr: true }, - command: 'node ./browser/build.js -a', + command: grunt.option('target') === 'dev' ? + 'node ./browser/build.js -a -d ' : 'node ./browser/build.js -a' } }, watch: {