Skip to content

Commit b383107

Browse files
committed
addded min
1 parent 8298bbe commit b383107

File tree

3 files changed

+2
-118
lines changed

3 files changed

+2
-118
lines changed

gulpfile.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,12 @@ gulp.task('build', function () {
2424
};
2525

2626
return browserify('./src/qbMain.js', browserifyOpts)
27-
// .transform(babelify, { presets: ['es2015'] }) // We are added babel, but doesn't use it now
2827
.bundle()
2928
.on('error', function(error) {
3029
notify('Failed when create a bundle <%= error.message %>')
3130
this.emit('end');
3231
})
33-
.pipe(source('quickblox.js'))
34-
.pipe(uglify()).on('error', function(error){
35-
notify('Uglify Error <%= error.message %>');
36-
this.emit('end');
37-
})
38-
.pipe(rename('quickblox.min.js'))
32+
.pipe(source('quickblox.min.js'))
3933
.pipe(notify('Build task is finished.'))
4034
.pipe(gulp.dest('./'));
4135
});

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@
5454
"ghooks": "^1.3.2",
5555
"gulp": "^3.9.1",
5656
"gulp-connect": "^5.0.0",
57-
"gulp-jshint": "^2.0.1",
5857
"gulp-notify": "^2.2.0",
59-
"gulp-rename": "^1.2.2",
6058
"gulp-uglify": "^2.0.0",
6159
"jasmine": "^2.4.1",
6260
"jshint": "^2.9.3",

0 commit comments

Comments
 (0)