changes to make requirejs optimizer complete

This commit is contained in:
Torkel Ödegaard
2014-12-31 11:50:34 +01:00
parent 47f226be3b
commit 11b44f2b01
5 changed files with 4 additions and 136 deletions

View File

@@ -22,7 +22,6 @@ module.exports = function(grunt) {
'uglify:dest'
]);
grunt.registerTask('build:grafanaVersion', function() {
grunt.config('string-replace.config', {
files: {

View File

@@ -8,4 +8,4 @@ module.exports = function(config) {
dest: '<%= tempDir %>'
}
};
};
};

View File

@@ -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',