Skip to content

Commit d195f35

Browse files
committed
Merge branch 'PikadudeNo1-autoprefixer'
2 parents 61f7c4c + 7834464 commit d195f35

20 files changed

Lines changed: 247 additions & 1617 deletions

Gruntfile.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,25 @@ module.exports = function (grunt) {
6161
src: '*.sass',
6262
ext: '.css'
6363
}
64+
},
65+
66+
postcss: {
67+
options: {
68+
processors: [
69+
require('autoprefixer')({ cascade: false })
70+
]
71+
},
72+
dist: {
73+
src: 'dist/css/*.css'
74+
}
6475
}
6576
})
6677

6778
grunt.loadNpmTasks('grunt-browserify')
6879
grunt.loadNpmTasks('grunt-contrib-uglify')
6980
grunt.loadNpmTasks('grunt-contrib-compass')
7081
grunt.loadNpmTasks('grunt-sass')
82+
grunt.loadNpmTasks('grunt-postcss')
7183

72-
grunt.registerTask('default', ['browserify', 'uglify', 'sass'])
84+
grunt.registerTask('default', ['browserify', 'uglify', 'sass', 'postcss'])
7385
}

0 commit comments

Comments
 (0)