mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
commit(): saas changs
This commit is contained in:
@@ -7,7 +7,6 @@ module.exports = function(config) {
|
||||
'<%= genDir %>/vendor/css/timepicker.css',
|
||||
'<%= genDir %>/vendor/css/spectrum.css',
|
||||
'<%= genDir %>/css/bootstrap.dark.min.css',
|
||||
'<%= genDir %>/css/bootstrap-responsive.min.css',
|
||||
'<%= genDir %>/vendor/css/font-awesome.min.css'
|
||||
],
|
||||
dest: '<%= genDir %>/css/grafana.dark.min.css'
|
||||
@@ -18,7 +17,6 @@ module.exports = function(config) {
|
||||
'<%= genDir %>/vendor/css/timepicker.css',
|
||||
'<%= genDir %>/vendor/css/spectrum.css',
|
||||
'<%= genDir %>/css/bootstrap.light.min.css',
|
||||
'<%= genDir %>/css/bootstrap-responsive.min.css',
|
||||
'<%= genDir %>/vendor/css/font-awesome.min.css'
|
||||
],
|
||||
dest: '<%= genDir %>/css/grafana.light.min.css'
|
||||
|
||||
12
tasks/options/sass.js
Normal file
12
tasks/options/sass.js
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = function(config) {
|
||||
|
||||
return {
|
||||
src:{
|
||||
options: {},
|
||||
files: {
|
||||
"<%= genDir %>/css/grafana.dark.css": "<%= srcDir %>/less/grafana.dark.scss",
|
||||
"<%= genDir %>/css/grafana.light.css": "<%= srcDir %>/less/grafana.light.scss",
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -21,9 +21,9 @@ module.exports = function(config, grunt) {
|
||||
grunt.task.run('jscs');
|
||||
}
|
||||
|
||||
if (/(\.less)$/.test(filepath)) {
|
||||
if (/(\.scss)$/.test(filepath)) {
|
||||
grunt.task.run('clean:css');
|
||||
grunt.task.run('css');
|
||||
grunt.task.run('sass');
|
||||
}
|
||||
|
||||
if (/(\.ts)$/.test(filepath)) {
|
||||
|
||||
Reference in New Issue
Block a user