Include subdirectories

This commit is contained in:
Oliver Davies 2017-03-10 18:07:00 +00:00
parent f3890e3dad
commit d8238902d7

View file

@ -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('.')))