From c8bd66263fec314217e61a3b8fa2903a93d20ff9 Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Thu, 20 Feb 2014 11:32:41 -0500 Subject: [PATCH] chore(build): make removelogging work on min files --- Gruntfile.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 5f792f386d..c2cf507a3f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -76,9 +76,9 @@ module.exports = function(grunt) { dist: { files: [{ expand: true, - cwd: 'dist/js/', - src: ['*.js'], - dest: '.' + cwd: '.', + src: ['dist/js/*.js', '!dist/js/*.min.js'], + dest: './dist/js' }], options: { methods: 'log info assert count clear group groupEnd groupCollapsed trace debug dir dirxml profile profileEnd time timeEnd timeStamp table exception'.split(' ') @@ -199,9 +199,10 @@ module.exports = function(grunt) { 'concat:distangular', 'copy', 'string-replace', - 'uglify', 'version', 'concat:bundle', + 'removelogging', + 'uglify', 'concat:bundlemin' ]);