mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixes(): fixes for changed app -> public/app paths and fixes for optimized build
This commit is contained in:
@@ -19,9 +19,9 @@ module.exports = function(grunt) {
|
||||
'ngAnnotate:build',
|
||||
'systemjs:build',
|
||||
'concat:js',
|
||||
// 'filerev',
|
||||
// 'remapFilerev',
|
||||
// 'usemin',
|
||||
'filerev',
|
||||
'remapFilerev',
|
||||
'usemin',
|
||||
'uglify:genDir'
|
||||
]);
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ module.exports = function(config) {
|
||||
src: ['app/**/*.html'],
|
||||
dest: '<%= genDir %>/app/core/partials.js',
|
||||
options: {
|
||||
prefix: 'public/',
|
||||
bootstrap: function(module, script) {
|
||||
return "define('app/core/partials', ['app/core/core_module'], function(coreModule) { \n" +
|
||||
"coreModule.default.run(['$templateCache', function($templateCache) { \n" +
|
||||
|
||||
Reference in New Issue
Block a user