From d8238902d7defaff1deccb51fffb7aacfcc49ad1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Mar 2017 18:07:00 +0000 Subject: [PATCH] Include subdirectories --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index a370073f..df666cf8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -36,9 +36,9 @@ gulp.task('styles', function() { })) .pipe(plugins.concat('site.css')) .pipe(plugins.if(!config.production, plugins.purifycss([ - 'source/*.html', - 'source/*.md', - 'source/*.twig', + 'source/**/*.html', + 'source/**/*.md', + 'source/**/*.twig', ]))) .pipe(plugins.if(config.production, plugins.cleanCss())) .pipe(plugins.if(!config.production, plugins.sourcemaps.write('.')))