]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add load autoprefixer and cssmin 5031/head
authorGeorge Spake <gpspake@gmail.com>
Mon, 21 Apr 2014 06:26:05 +0000 (01:26 -0500)
committerGeorge Spake <gpspake@gmail.com>
Mon, 21 Apr 2014 06:26:05 +0000 (01:26 -0500)
I may be missing something obvious here but grunt returns errors because cssmin and autoprefixer aren't being loaded. This seems to fix the problem.

Gruntfile.js

index f6bc3617a822f53391c3260e6a833f5db5775ae2..e262b972bb66fa7920af2ec214d6b391abc043b9 100644 (file)
@@ -234,7 +234,9 @@ module.exports = function(grunt) {
   grunt.loadNpmTasks('grunt-rsync');
   grunt.loadNpmTasks('grunt-sass');
   grunt.loadNpmTasks('grunt-contrib-jst');
-
+  grunt.loadNpmTasks('grunt-autoprefixer');
+  grunt.loadNpmTasks('grunt-contrib-cssmin');
+  
   grunt.task.registerTask('watch_start', ['karma:dev_watch:start', 'watch']);
   grunt.registerTask('build:assets', ['clean', 'sass', 'autoprefixer', 'cssmin', 'concat', 'uglify', 'copy', 'jst']);
   grunt.registerTask('build', ['build:assets', 'assemble']);