Skip to content

Instantly share code, notes, and snippets.

@tterb
Created December 20, 2019 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tterb/4f4de4bae2ae4fb1d3086576fbe5d57b to your computer and use it in GitHub Desktop.
Save tterb/4f4de4bae2ae4fb1d3086576fbe5d57b to your computer and use it in GitHub Desktop.
Jekyll Gulpfile
// Gulpfile.js
const autoprefixer = require('autoprefixer');
const browserSync = require('browser-sync').create();
const concat = require('gulp-concat');
const cssnano = require('cssnano');
const del = require('del');
const gulp = require('gulp');
const gutil = require('gulp-util');
const imagemin = require('gulp-imagemin');
const pngquant = require('imagemin-pngquant');
const postcss = require('gulp-postcss');
const rename = require('gulp-rename');
const run = require('gulp-run');
const runSequence = require('run-sequence');
const sass = require('gulp-ruby-sass');
const uglify = require('gulp-uglify-es').default; // For es6 support
// Include paths from the created paths.js file
const paths = require('./_assets/gulp-config/paths');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment