Merge branch 'master' of github.com:grafana/grafana

This commit is contained in:
Torkel Ödegaard
2016-03-07 18:04:06 +01:00
6 changed files with 36 additions and 46 deletions

21
tasks/options/postcss.js Normal file
View File

@@ -0,0 +1,21 @@
module.exports = function(config) {
return {
options: {
map: true, // inline sourcemaps
// or
map: {
inline: false, // save all sourcemaps as separate files...
annotation: '<%= genDir %>/css' // ...to the specified directory
},
processors: [
require('autoprefixer')({browsers: 'last 2 versions'}), // add vendor prefixes
]
},
dist: {
src: '<%= genDir %>/css/*.css'
}
}
};