Skip to content

Commit

Permalink
fix banner generate
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Feb 26, 2017
1 parent cb3c2b9 commit 7298f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ gulp.task('build', function () {
.pipe(gulp.dest('build'))
.pipe(sourcemaps.init())
.pipe(uglify(uglifyOptions))
.pipe(header(banner, {pkg: pkg}))
.pipe(rename({extname: '.min.js'}))
.pipe(sourcemaps.write('./'))
.pipe(header(banner, {pkg: pkg}))
.pipe(gulp.dest('build'));
});

Expand Down

0 comments on commit 7298f38

Please sign in to comment.