Skip to content

Commit d496142

Browse files
committed
Added StripDebug module to GulpFile and also as dev dependency
1 parent d1175ea commit d496142

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

gulpfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ gulp.task('default', function() {
4444
// Build for dist
4545
gulp.task('build', function() {
4646
gulp.src(src + '/**/*.js')
47+
.pipe($.stripDebug())
48+
.pipe(gulp.dest(dist + '/'))
4749
.pipe($.jsmin())
4850
.pipe($.rename({suffix: '.min'}))
4951
.pipe(gulp.dest(dist + '/'));

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"gulp-jsmin": "^0.1.5",
3131
"gulp-load-plugins": "^0.10.0",
3232
"gulp-rename": "^1.2.2",
33+
"gulp-strip-debug": "^1.1.0",
3334
"gulp-util": "^3.0.6",
3435
"gulp-watch": "^4.3.3",
3536
"yargs": "^3.15.0"

0 commit comments

Comments
 (0)