Skip to content

Gulp Uglify Error #30

Description

@KereiKhan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions