Skip to content

Commit

Permalink
Added StripDebug module to GulpFile and also as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpablob committed Apr 26, 2017
1 parent d1175ea commit d496142
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ gulp.task('default', function() {
// Build for dist
gulp.task('build', function() {
gulp.src(src + '/**/*.js')
.pipe($.stripDebug())
.pipe(gulp.dest(dist + '/'))
.pipe($.jsmin())
.pipe($.rename({suffix: '.min'}))
.pipe(gulp.dest(dist + '/'));
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"gulp-jsmin": "^0.1.5",
"gulp-load-plugins": "^0.10.0",
"gulp-rename": "^1.2.2",
"gulp-strip-debug": "^1.1.0",
"gulp-util": "^3.0.6",
"gulp-watch": "^4.3.3",
"yargs": "^3.15.0"
Expand Down

0 comments on commit d496142

Please sign in to comment.