]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Replaces minifyCss with cssnano
authorMillenium <emellum@mail.csuchico.edu>
Tue, 26 Jan 2016 02:55:54 +0000 (18:55 -0800)
committerMillenium <emellum@mail.csuchico.edu>
Tue, 26 Jan 2016 02:55:54 +0000 (18:55 -0800)
legacy module not being used caused the issue.

gulp/deploy.js

index 22d975b92ffb317114ccaf12193894fd7df35b9e..1d6fdf80ebdb043820688005605abf797ef73a35 100644 (file)
@@ -137,7 +137,7 @@ gulp.task('deploy:templates', function() {
 // The Customizer runs this function to generate files it needs
 gulp.task('deploy:custom', ['sass:foundation', 'javascript:foundation'], function() {
   gulp.src('./_build/assets/css/foundation.css')
-      .pipe(minifyCss())
+      .pipe(cssnano())
       .pipe(rename('foundation.min.css'))
       .pipe(gulp.dest('./_build/assets/css'));