From cd3a639a5461c896d7c6a09792ca96377cf98a33 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 6 Aug 2017 09:31:33 -0700 Subject: [PATCH] #5391 - Fixes issue with deprecated uglify setting in build tools --- RELEASE-NOTES.md | 5 +++++ tasks/config/tasks.js | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index f4980db9d..e762a9a47 100755 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,10 @@ ## RELEASE NOTES +### Version 2.2.12 - Aug 06, 2017 + +**Critical Bugs** (1) +- **Build Tools** - Fixes issue with deprecated uglify setting that could cause build tools to fail + ### Version 2.2.11 - July 11, 2017 **Critical Bugs** (5) diff --git a/tasks/config/tasks.js b/tasks/config/tasks.js index a861c133a..2b75fc656 100644 --- a/tasks/config/tasks.js +++ b/tasks/config/tasks.js @@ -144,8 +144,8 @@ module.exports = { /* Minified JS Settings */ uglify: { - mangle : true, - preserveComments : 'some' + mangle : true, + comments : 'some' }, /* Minified Concat CSS Settings */ @@ -158,8 +158,8 @@ module.exports = { /* Minified Concat JS */ concatUglify: { - mangle : true, - preserveComments : false + mangle : true, + comments : false } }