We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gulp.task('js', ['common-js'], function() { return gulp.src([ 'app/libs/jquery/dist/jquery-3.2.1.min.js', 'app/libs/jQuery.mmenu/dist/jquery.mmenu.all.js', 'app/js/common.min.js', // Всегда в конце ]) .pipe(concat('scripts.min.js')) // .pipe(uglify()) // Минимизировать весь js (на выбор) .pipe(gulp.dest('app/js')) .pipe(browserSync.reload({stream: true})); });
events.js:193 throw er; // Unhandled 'error' event ^ GulpUglifyError: unable to minify JavaScript
The text was updated successfully, but these errors were encountered:
Проверьте свой файл common.js на наличие ошибок.
Sorry, something went wrong.
спасибо
No branches or pull requests
gulp.task('js', ['common-js'], function() {
return gulp.src([
'app/libs/jquery/dist/jquery-3.2.1.min.js',
'app/libs/jQuery.mmenu/dist/jquery.mmenu.all.js',
'app/js/common.min.js', // Всегда в конце
])
.pipe(concat('scripts.min.js'))
// .pipe(uglify()) // Минимизировать весь js (на выбор)
.pipe(gulp.dest('app/js'))
.pipe(browserSync.reload({stream: true}));
});
events.js:193
throw er; // Unhandled 'error' event
^
GulpUglifyError: unable to minify JavaScript
The text was updated successfully, but these errors were encountered: