This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 29e2d9d  chore: remove critical (from gulpfile.js)
29e2d9d is described below

commit 29e2d9dec4436b4bfa59f76e520e6fdf7389aa4c
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Thu Jul 11 20:56:17 2019 +0200

    chore: remove critical (from gulpfile.js)
---
 gulpfile.js | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/gulpfile.js b/gulpfile.js
index b5beedc..8f1e4f0 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,13 +1,6 @@
 const gulp = require('gulp');
-const critical = require('critical').stream;
 const htmlmin = require('gulp-htmlmin');
 
-gulp.task('critical', () => {
-  return gulp.src('public/**/index.html')
-    .pipe(critical({base: 'public/', inline: true}))
-    .pipe(gulp.dest('public'));
-});
-
 gulp.task('minify', () => {
   return gulp.src('public/**/*.html')
     .pipe(htmlmin({

Reply via email to