fix(build): fixed build issues with concat not including require_config

This commit is contained in:
Torkel Ödegaard
2015-12-02 18:22:47 +01:00
parent 24324939e1
commit 8eb3e48bc7
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ module.exports = function(grunt) {
'karma:test',
'phantomjs',
'css',
'htmlmin:build',
// 'htmlmin:build',
'ngtemplates',
'cssmin:build',
'ngAnnotate:build',
@@ -34,8 +34,8 @@ module.exports = function(grunt) {
for(var key in summary){
if(summary.hasOwnProperty(key)){
var orig = key.replace(root, root+'/[[.AppSubUrl]]');
var revved = summary[key].replace(root, root+'/[[.AppSubUrl]]');
var orig = key.replace(root, root+'/[[.AppSubUrl]]/public');
var revved = summary[key].replace(root, root+'/[[.AppSubUrl]]/public');
fixed[orig] = revved;
}
}
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = function(config) {
js: {
src: [
'<%= tempDir %>/vendor/requirejs/require.js',
'<%= tempDir %>/app/components/require.config.js',
'<%= tempDir %>/app/require_config.js',
'<%= tempDir %>/app/app.js',
],
dest: '<%= genDir %>/app/app.js'