diff --git a/tasks/closure-compiler.js b/tasks/closure-compiler.js index 339d5a5..8ad3c61 100644 --- a/tasks/closure-compiler.js +++ b/tasks/closure-compiler.js @@ -36,27 +36,43 @@ module.exports = function(grunt) { var command = 'java -jar ' + closurePath + '/build/compiler.jar'; data.cwd = data.cwd || './'; - - data.js = grunt.file.expand({cwd: data.cwd}, data.js); + if(data.modules){ + //data.modules = grunt.file.expand(data.modules); + for(var i=0;i