#35 Enabled uglify again

This commit is contained in:
Serraniel 2020-08-26 21:05:00 +02:00
parent 5bae743444
commit a16c6703b7
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -104,7 +104,7 @@ gulp.task('scripts', () => {
.pipe(source('app.js')) .pipe(source('app.js'))
.pipe(buffer()) .pipe(buffer())
.pipe($.if(isDev, $.sourcemaps.init({ loadMaps: true }))) .pipe($.if(isDev, $.sourcemaps.init({ loadMaps: true })))
//.pipe(uglify({ compress: { drop_console: isProd, drop_debugger: isProd } })) .pipe(uglify({ compress: { drop_console: isProd, drop_debugger: isProd } }))
.pipe($.rename({ suffix: '.min' })) .pipe($.rename({ suffix: '.min' }))
.pipe($.size({ .pipe($.size({
showFiles: true, showFiles: true,