d800ecf5 by Adam Heath

Allow useRev and uglify to run even when bower is not enabled.

1 parent b852be15
...@@ -849,13 +849,13 @@ module.exports = function (grunt) { ...@@ -849,13 +849,13 @@ 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 }
852 if (mpConfig.useRev) { 853 if (mpConfig.useRev) {
853 buildList.push('rev:requirejs'); 854 buildList.push('rev:requirejs');
854 } 855 }
855 if (mpConfig.uglify) { 856 if (mpConfig.uglify) {
856 buildList.push('uglify:montyPython'); // montyPython 857 buildList.push('uglify:montyPython'); // montyPython
857 } 858 }
858 }
859 buildList.push('do-use'); 859 buildList.push('do-use');
860 buildList.push('htmlmin'); // montyPython 860 buildList.push('htmlmin'); // montyPython
861 if (mpConfig.gzip) { 861 if (mpConfig.gzip) {
......