mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'master' of github.com:grafana/grafana
This commit is contained in:
21
tasks/options/postcss.js
Normal file
21
tasks/options/postcss.js
Normal 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'
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user