Skip to content

Commit

Permalink
feature(build) - updated gulp build
Browse files Browse the repository at this point in the history
  • Loading branch information
ESadouski committed Dec 7, 2016
1 parent 7d639dc commit 4ef797e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gulp/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ gulp.task('html', ['inject', 'partials'], function () {
var htmlFilter = $.filter('*.html', { restore: true });
var jsFilter = $.filter('**/*.js', { restore: true });
var cssFilter = $.filter('**/*.css', { restore: true });
var assets;

return gulp.src(path.join(conf.paths.tmp, '/serve/*.html'))
.pipe($.inject(partialsInjectFile, partialsInjectOptions))
.pipe(assets = $.useref.assets())
.pipe($.rev())
.pipe(jsFilter)
.pipe($.sourcemaps.init())
Expand All @@ -54,7 +52,6 @@ gulp.task('html', ['inject', 'partials'], function () {
.pipe($.minifyCss({ processImport: false }))
.pipe($.sourcemaps.write('maps'))
.pipe(cssFilter.restore)
.pipe(assets.restore())
.pipe($.useref())
.pipe($.revReplace())
.pipe(htmlFilter)
Expand Down

0 comments on commit 4ef797e

Please sign in to comment.