Skip to content
New issue

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 Uglify Error #30

Open
KereiKhan opened this issue Nov 23, 2017 · 2 comments
Open

Gulp Uglify Error #30

KereiKhan opened this issue Nov 23, 2017 · 2 comments

Comments

@KereiKhan
Copy link

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

@Archangel-S87
Copy link

Проверьте свой файл common.js на наличие ошибок.

@KereiKhan
Copy link
Author

спасибо

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants