preserve license

This commit is contained in:
Van
2015-10-01 22:26:23 +08:00
parent 7f380e62c4
commit 255a8a7d63
9 changed files with 192 additions and 17 deletions

View File

@@ -18,6 +18,6 @@ gulp.task ('build', function () {
gulp.src ('../*/js/*.js')
.pipe(rename({ suffix: '.min' }))
.pipe(uglify())
.pipe(uglify({preserveComments : 'license'}))
.pipe(gulp.dest ('../'));
});