Skip to content

Commit

Permalink
cleaning up stupid mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
asfktz committed Feb 24, 2015
1 parent 2e8808e commit d34aba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/browserify-uglify-sourcemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ gulp.task('javascript', function() {
return bundle();
});

gulp.task('browserify', function () {
gulp.task('javascript', function () {
// transform regular node stream to gulp (buffered vinyl) stream
var browserified = transform(function(filename) {
var b = browserify(filename);
return b.bundle();
});

return gulp.src(['./src/*.js'])
return gulp.src('./app.js')
.pipe(browserified)
.pipe(sourcemaps.init({loadMaps: true}))
// Add transformation tasks to the pipeline here.
Expand Down

0 comments on commit d34aba7

Please sign in to comment.