#35 Enabled uglify again
This commit is contained in:
parent
5bae743444
commit
a16c6703b7
|
@ -104,7 +104,7 @@ gulp.task('scripts', () => {
|
|||
.pipe(source('app.js'))
|
||||
.pipe(buffer())
|
||||
.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($.size({
|
||||
showFiles: true,
|
||||
|
|
Loading…
Reference in a new issue