fixes(): fixes for changed app -> public/app paths and fixes for optimized build

This commit is contained in:
Torkel Ödegaard
2016-02-01 19:00:40 +01:00
parent e737dab5ca
commit 78598df96e
11 changed files with 13 additions and 10 deletions

View File

@@ -19,9 +19,9 @@ module.exports = function(grunt) {
'ngAnnotate:build',
'systemjs:build',
'concat:js',
// 'filerev',
// 'remapFilerev',
// 'usemin',
'filerev',
'remapFilerev',
'usemin',
'uglify:genDir'
]);

View File

@@ -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" +