Fix uglify:generated task when no html exists in the site.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment