From 4ef797e8cb45ee7849e542d32a3a8a4968f0c758 Mon Sep 17 00:00:00 2001 From: ESadouski Date: Wed, 7 Dec 2016 13:18:09 +0300 Subject: [PATCH] feature(build) - updated gulp build --- gulp/build.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/gulp/build.js b/gulp/build.js index efbccfb..81c3e89 100644 --- a/gulp/build.js +++ b/gulp/build.js @@ -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()) @@ -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)