diff --git a/gulpfile.js b/gulpfile.js index 2e4163f..5599cdd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -12,12 +12,11 @@ gulp.task("doc", function(){ .pipe(rename("README.md")) .pipe(gulp.dest("api")); }); - gulp.task('compress', function() { return gulp.src('g2.js') .pipe(rename({ extname: '.min.js' })) .pipe(uglify()) - .pipe(gulp.dest('/')) + .pipe(gulp.dest('')) .pipe(gzip()) - .pipe(gulp.dest('/')); + .pipe(gulp.dest('')); }); \ No newline at end of file