From df7d9e7a7939d1b5fd5c20a968fb0e4e0ccfa4aa Mon Sep 17 00:00:00 2001 From: George Spake Date: Mon, 21 Apr 2014 01:26:05 -0500 Subject: [PATCH] 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. --- Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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']); -- 2.47.2