From 4de345ae8a0a534428547056d6925f97a7ccaea5 Mon Sep 17 00:00:00 2001 From: Patrick Burtchaell Date: Sun, 8 Jun 2014 10:44:52 -0500 Subject: [PATCH] Implement grunt-autoprefixer --- Gruntfile.js | 10 ++++++++++ package.json | 1 + 2 files changed, 11 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 05694a1..351d0ab 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -179,6 +179,16 @@ module.exports = function(grunt) { // src: ['<%= less.docs.src %>'], // dest: '<%= site.public %>/css/blog.css' // } + autoprefixer: { + options: { + browsers: ['last 2 version', 'ie 8', 'ie 9'] + }, + styles: { + expand: true, + flatten: true, + src: '<%= site.public %>/css/*.css', + dest: '<%= site.public %>/css/' + }, }, // Lint CSS diff --git a/package.json b/package.json index c695458..2b49267 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "grunt": "^0.4.4", "grunt-assemble": "^0.1.13", "grunt-assemble-less": "^0.8.1", + "grunt-autoprefixer": "^0.7.4", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-connect": "^0.7.1", "grunt-contrib-copy": "^0.5.0",