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
+10 -1
View File
@@ -2,7 +2,16 @@
module.exports = function(grunt) {
'use strict';
grunt.registerTask('css', ['sass', 'concat:cssDark', 'concat:cssLight', 'styleguide', 'sasslint']);
grunt.registerTask('css', [
'sass',
'concat:cssDark',
'concat:cssLight',
'styleguide',
'sasslint',
'postcss'
]
);
grunt.registerTask('default', [
'jscs',
'jshint',
+21
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'
}
}
};