diff --git a/app/templates/gulp/_build.js b/app/templates/gulp/_build.js index d415c58e..f1695458 100644 --- a/app/templates/gulp/_build.js +++ b/app/templates/gulp/_build.js @@ -48,7 +48,7 @@ gulp.task('html', ['inject', 'partials'], function () { .pipe($.rev()) .pipe(jsFilter) .pipe($.ngAnnotate()) - .pipe($.uglify({ preserveComments: $.uglifySaveLicense })).on('error', conf.errorHandler('Uglify')) + .pipe($.uglify({ preserveComments: $.uglifySaveLicense, mangle: false })).on('error', conf.errorHandler('Uglify')) .pipe(jsFilter.restore()) .pipe(cssFilter) <% if (props.ui.key === 'bootstrap' && props.cssPreprocessor.extension === 'scss') { -%>