Feature/#35 build tools #36
|
@ -104,7 +104,7 @@ gulp.task('scripts', () => {
|
||||||
Serraniel
commented
Review
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
|||||||
.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 } }))
|
||||||
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
|||||||
.pipe($.rename({ suffix: '.min' }))
|
.pipe($.rename({ suffix: '.min' }))
|
||||||
.pipe($.size({
|
.pipe($.size({
|
||||||
showFiles: true,
|
showFiles: true,
|
||||||
|
|
||||||
```suggestion
debug: isDev
```
```suggestion
debug: isDev
```
|
Loading…
Reference in a new issue