Commit 1ad8339b authored by Nikolay Gromov's avatar Nikolay Gromov

Обработка JS: добавлен вывод сообщения об ошибке при минификации

parent 0b88a027
......@@ -376,7 +376,7 @@ gulp.task('js', function (callback) {
}
}))
.pipe(concat('script.min.js'))
.pipe(gulpIf(!isDev, uglify()))
.pipe(gulpIf(!isDev, uglify().on('error', function(e){console.log(e);})))
.pipe(size({
title: 'Размер',
showFiles: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment