7c0a2e88 by Adam Heath

Fix uglify:generated task when no html exists in the site.

1 parent e466a60a
...@@ -343,6 +343,8 @@ module.exports = function (grunt) { ...@@ -343,6 +343,8 @@ module.exports = function (grunt) {
343 if (mpConfig.uglify) { 343 if (mpConfig.uglify) {
344 initConfig.uglify = { 344 initConfig.uglify = {
345 options: mpConfig.uglify, 345 options: mpConfig.uglify,
346 generated: {
347 },
346 }; 348 };
347 } 349 }
348 350
......