Skip to content

Commit

Permalink
fix lingering gulp bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Oct 29, 2015
1 parent d3f0ba5 commit 9b01d7c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ var uglify = require('gulp-uglify');

gulp.task( 'uglify', [ 'requirejs' ], function() {
var banner = getBanner();
gulp.src('dist/imagesloaded.pkgd.js')
gulp.src('imagesloaded.pkgd.js')
.pipe( uglify() )
// add banner
.pipe( addBanner( banner ) )
.pipe( rename('imagesloaded.pkgd.min.js') )
.pipe( gulp.dest('dist') );
.pipe( gulp.dest('.') );
});

// ----- version ----- //
Expand Down Expand Up @@ -167,7 +167,5 @@ gulp.task( 'version', function() {

gulp.task( 'default', [
'hint',
'jsonlint',
'uglify',
'css'
'uglify'
]);

0 comments on commit 9b01d7c

Please sign in to comment.