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

Fixed JavaScript minify #591

Merged
merged 1 commit into from
Dec 8, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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