Skip to content

Commit

Permalink
Merge pull request #105 from jakemmarsh/fix-uglify
Browse files Browse the repository at this point in the history
Fix uglify to not mangle variable/argument names
  • Loading branch information
jakemmarsh committed Nov 7, 2015
2 parents bbd6621 + f944166 commit 89e1d70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gulp/tasks/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function buildScript(file) {
.pipe(gulpif(createSourcemap, buffer()))
.pipe(gulpif(createSourcemap, sourcemaps.init()))
.pipe(gulpif(global.isProd, streamify(uglify({
mangle: false,
compress: { drop_console: true }
}))))
.pipe(gulpif(createSourcemap, sourcemaps.write('./')))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angularjs-gulp-browserify-boilerplate",
"version": "1.0.0",
"version": "1.0.1",
"author": "Jake Marsh <[email protected]>",
"description": "Boilerplate using AngularJS, SASS, Gulp, and Browserify while also utilizing best practices.",
"repository": {
Expand Down

0 comments on commit 89e1d70

Please sign in to comment.