chore(build): uglify dist files during watch

This commit is contained in:
Nico Rehwaldt 2014-05-06 09:59:21 +02:00
parent 45b8ee81c8
commit ca0e0fbd97
1 changed files with 8 additions and 0 deletions

View File

@ -146,6 +146,14 @@ module.exports = function(grunt) {
jasmine_node: {
files: [ '<%= config.sources %>/**/*.js', '<%= config.tests %>/spec/node/**/*.js' ],
tasks: [ 'jasmine_node' ]
},
modeler: {
files: [ '<%= config.dist %>/bpmn.js' ],
tasks: [ 'uglify:modeler' ]
},
viewer: {
files: [ '<%= config.dist %>/bpmn-viewer.js' ],
tasks: [ 'uglify:viewer' ]
}
},
jsdoc: {