Skip to content

Commit 56388d2

Browse files
committed
Update build script to output to now directory
1 parent e081f42 commit 56388d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gulpfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ options = {
4343
'!./node_modules/',
4444
'!./bower_components/',
4545
],
46-
bundleDest: './public/js/'
46+
bundleDest: './public/js/',
47+
nowDest: './now/js/'
4748
}
4849
};
4950

@@ -82,7 +83,8 @@ function bundle (b) {
8283
.pipe(uglify())
8384
.on('error', gutil.log)
8485
.pipe(rename(options.rename))
85-
.pipe(gulp.dest(options.paths.bundleDest));
86+
.pipe(gulp.dest(options.paths.bundleDest))
87+
.pipe(gulp.dest(options.paths.nowDest));
8688
}
8789

8890
gulp.task('build', ['lint', 'felint', 'browserify'], function() {});

0 commit comments

Comments
 (0)