Allow useRev and uglify to run even when bower is not enabled.
Showing
1 changed file
with
6 additions
and
6 deletions
... | @@ -849,12 +849,12 @@ module.exports = function (grunt) { | ... | @@ -849,12 +849,12 @@ module.exports = function (grunt) { |
849 | buildList.push('fixRequireConfig'); | 849 | buildList.push('fixRequireConfig'); |
850 | if (mpConfig.bower) { | 850 | if (mpConfig.bower) { |
851 | buildList.push('concat:requirejs'); // montyPython | 851 | buildList.push('concat:requirejs'); // montyPython |
852 | if (mpConfig.useRev) { | 852 | } |
853 | buildList.push('rev:requirejs'); | 853 | if (mpConfig.useRev) { |
854 | } | 854 | buildList.push('rev:requirejs'); |
855 | if (mpConfig.uglify) { | 855 | } |
856 | buildList.push('uglify:montyPython'); // montyPython | 856 | if (mpConfig.uglify) { |
857 | } | 857 | buildList.push('uglify:montyPython'); // montyPython |
858 | } | 858 | } |
859 | buildList.push('do-use'); | 859 | buildList.push('do-use'); |
860 | buildList.push('htmlmin'); // montyPython | 860 | buildList.push('htmlmin'); // montyPython | ... | ... |
-
Please register or sign in to post a comment