mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
30 lines
734 B
JavaScript
30 lines
734 B
JavaScript
module.exports = function() {
|
|
'use strict';
|
|
|
|
return {
|
|
html: [
|
|
'<%= destDir %>/views/index.html',
|
|
],
|
|
options: {
|
|
assetsDirs: ['<%= destDir %>'],
|
|
patterns: {
|
|
css: [
|
|
[/(\.css)/, 'Replacing reference to image.png']
|
|
]
|
|
}
|
|
// blockReplacements: {
|
|
// css: function (block) {
|
|
// console.log('aaaaaaaaaaaaa', block);
|
|
// return '<link rel="stylesheet" href="aaaa' + block.dest + '">';
|
|
// }
|
|
// }
|
|
// css: [
|
|
// [/(grafana\.light\.min\.css)/, 'Replacing reference to light css', function(asd) {
|
|
// console.log("Match", asd);
|
|
// return 'css/grafana.light.min.css';
|
|
// }]
|
|
// ]
|
|
}
|
|
};
|
|
};
|