mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
changes to make requirejs optimizer complete
This commit is contained in:
@@ -22,7 +22,6 @@ module.exports = function(grunt) {
|
||||
'uglify:dest'
|
||||
]);
|
||||
|
||||
|
||||
grunt.registerTask('build:grafanaVersion', function() {
|
||||
grunt.config('string-replace.config', {
|
||||
files: {
|
||||
|
||||
@@ -8,4 +8,4 @@ module.exports = function(config) {
|
||||
dest: '<%= tempDir %>'
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -6,9 +6,10 @@ module.exports = function(config,grunt) {
|
||||
options: {
|
||||
appDir: '<%= tempDir %>',
|
||||
dir: '<%= destDir %>',
|
||||
baseUrl: './app',
|
||||
|
||||
mainConfigFile: '<%= tempDir %>/app/components/require.config.js',
|
||||
modules: [], // populated below
|
||||
modules: [], // populated below,
|
||||
|
||||
optimize: 'none',
|
||||
optimizeCss: 'none',
|
||||
|
||||
Reference in New Issue
Block a user