Skip to content

Commit

Permalink
Implement grunt-autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Burtchaell committed Jun 8, 2014
1 parent b4a675b commit 4de345a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

1 comment on commit 4de345a

@pburtchaell
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc/ @jonschlinkert https://github.com/nDmitry/grunt-autoprefixer

If you don't want this plugin, this commit can just be reverted.

Please sign in to comment.