gulpfile.js
//copy and minify js (changed from uglify to terser)
copy and minify js (changed from uglify to terser)
copy and minify js ( changed from uglify to terser )
function jsTask() {
    return src(jsPath)
    .pipe(terser())
    .pipe(dest(`${dist}/js`))
    .pipe(browsersync.stream());
}
function jsTask ( ) { return src ( jsPath ) . pipe ( terser ( ) ) . pipe ( dest ( ` ${ dist } ` ) ) . pipe ( browsersync . stream ( ) ) ; }
copy and minify js (changed from uglify to terser)
copy and minify js ( changed from uglify to terser )
//.pipe(sourcemaps.init()) //.pipe(concat('all.js')) //.pipe(sourcemaps.write('.'))