add -target=dev option to grunt to prevent minifying the source

This commit is contained in:
Matias Alejo Garcia 2014-03-21 17:58:59 -03:00
parent aad33d0c4a
commit 8ec4f2f9c5
1 changed files with 2 additions and 1 deletions

View File

@ -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: {