Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cayman-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Long <jlong@github.com>2016-04-18 23:48:50 +0300
committerJason Long <jlong@github.com>2016-04-18 23:48:50 +0300
commit52d5823d0da9545848d540185e7b04e224fe7368 (patch)
tree3d1e0a7b80f21bfbeb26e14478f3ec510c701aef
parentb99273bfb1dc1aea61f6bc0e5104935d82e42c89 (diff)
Update to postcss from autoprefixer
-rw-r--r--Gruntfile.js10
-rw-r--r--package.json2
2 files changed, 7 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index c29dc43..ed3c4f3 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -8,7 +8,7 @@ module.exports = function(grunt) {
},
sass: {
files: 'scss/*.scss',
- tasks: ['sass', 'autoprefixer', 'bsReload:css']
+ tasks: ['sass', 'postcss', 'bsReload:css']
},
html: {
files: '*.html',
@@ -28,9 +28,11 @@ module.exports = function(grunt) {
}
},
- autoprefixer: {
+ postcss: {
options: {
- browsers: ['last 2 versions', 'ie 8', 'ie 9']
+ processors: [
+ require('autoprefixer')({browsers: ['last 2 versions', 'ie 8', 'ie 9']})
+ ]
},
dist: {
files: {
@@ -60,7 +62,7 @@ module.exports = function(grunt) {
// Load dependencies
grunt.loadNpmTasks('grunt-browser-sync');
- grunt.loadNpmTasks('grunt-autoprefixer');
+ grunt.loadNpmTasks('grunt-postcss');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-sass');
diff --git a/package.json b/package.json
index 2bbd3cf..539d906 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"devDependencies": {
"grunt-browser-sync": "~2.1.1",
"grunt": "~1.0.1",
- "grunt-autoprefixer": "~3.0.4",
+ "grunt-postcss": "~0.8.0",
"grunt-sass": "~1.1.0",
"grunt-contrib-watch": "~1.0.0"
}