mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:32:19 +08:00
dev building and optimized builds work
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
module.exports = function(config) {
|
||||
return {
|
||||
grafana: {
|
||||
cwd: '<%= tempDir %>',
|
||||
cwd: '<%= genDir %>',
|
||||
src: ['app/**/*.html'],
|
||||
dest: '<%= tempDir %>/app/components/partials.js',
|
||||
dest: '<%= genDir %>/app/components/partials.js',
|
||||
options: {
|
||||
bootstrap: function(module, script) {
|
||||
return "define('components/partials', ['angular'], function(angular) { \n" +
|
||||
|
Reference in New Issue
Block a user