GulpUglifyError:Unable to minify JavaScript

The main error is generated when you’re using ES6 format. Use the gulp-uglify-es module instead of ‘gulp-uglify’ to overcome this error.

var uglify = require('gulp-uglify-es').default;

Note: gulp-uglify-es is no longer being maintained. You may want to use terser/gulp-terser instead:

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)