tech(systemjs): worked on making optimized builds work with systemjs builder
This commit is contained in:
+16
-4
@@ -13,6 +13,7 @@ module.exports = function(config) {
|
||||
],
|
||||
dest: '<%= genDir %>/css/grafana.dark.min.css'
|
||||
},
|
||||
|
||||
cssLight: {
|
||||
src: [
|
||||
'<%= genDir %>/vendor/css/normalize.min.css',
|
||||
@@ -24,13 +25,24 @@ module.exports = function(config) {
|
||||
],
|
||||
dest: '<%= genDir %>/css/grafana.light.min.css'
|
||||
},
|
||||
|
||||
js: {
|
||||
src: [
|
||||
'<%= tempDir %>/vendor/requirejs/require.js',
|
||||
'<%= tempDir %>/app/require_config.js',
|
||||
'<%= tempDir %>/app/app.js',
|
||||
'<%= genDir %>/vendor/npm/es6-shim/es6-shim.js',
|
||||
'<%= genDir %>/vendor/npm/es6-promise/es6-promise.js',
|
||||
'<%= genDir %>/vendor/npm/systemjs/dist/system.js',
|
||||
'<%= genDir %>/app/systemjs.conf.js',
|
||||
'<%= genDir %>/app/boot.js',
|
||||
],
|
||||
dest: '<%= genDir %>/app/app.js'
|
||||
dest: '<%= genDir %>/app/boot.js'
|
||||
},
|
||||
|
||||
bundle_and_boot: {
|
||||
src: [
|
||||
'<%= genDir %>/app/app_bundle.js',
|
||||
'<%= genDir %>/app/boot.js',
|
||||
],
|
||||
dest: '<%= genDir %>/app/boot.js'
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user