From: George Spake Date: Mon, 21 Apr 2014 06:26:05 +0000 (-0500) Subject: Add load autoprefixer and cssmin X-Git-Tag: v5.2.3^2~10^2~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5031%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add load autoprefixer and cssmin 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. --- diff --git a/Gruntfile.js b/Gruntfile.js index f6bc3617a..e262b972b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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']);