Skip to content

Commit

Permalink
Merge pull request gulpjs#955 from callumacrae/patch-2
Browse files Browse the repository at this point in the history
Removed unused function from browserify recipe
  • Loading branch information
sindresorhus committed Mar 13, 2015
2 parents 346ff9e + 6bc99c7 commit d268817
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/recipes/browserify-uglify-sourcemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ var transform = require('vinyl-transform');
var uglify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');

var getBundleName = function () {
var version = require('./package.json').version;
var name = require('./package.json').name;
return version + '.' + name + '.' + 'min';
};

gulp.task('javascript', function () {
// transform regular node stream to gulp (buffered vinyl) stream
var browserified = transform(function(filename) {
Expand Down

0 comments on commit d268817

Please sign in to comment.