Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #591 from colin-marshall/javascript-minify-fix
Browse files Browse the repository at this point in the history
Fixed JavaScript minify
  • Loading branch information
olefredrik committed Dec 8, 2015
2 parents 2a59f61 + 4f7e2b3 commit 7f195e5
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 @@ -110,7 +110,7 @@ gulp.task('javascript', function() {
return gulp.src(PATHS.javascript)
.pipe($.sourcemaps.init())
.pipe($.concat('foundation.js'))
.pipe(uglify)
.pipe($.if(isProduction, uglify))
.pipe($.if(!isProduction, $.sourcemaps.write()))
.pipe(gulp.dest('assets/javascript'))
.pipe(browserSync.stream());
Expand Down

0 comments on commit 7f195e5

Please sign in to comment.