Skip to content

Commit

Permalink
add -target=dev option to grunt to prevent minifying the source
Browse files Browse the repository at this point in the history
  • Loading branch information
matiu committed Mar 21, 2014
1 parent aad33d0 commit 8ec4f2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 8ec4f2f

Please sign in to comment.