#60 fix config for core

This commit is contained in:
Mario Romano
2016-05-13 16:35:59 +01:00
parent 66272dd703
commit 9a73b7f40d
2 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,8 @@ module.exports = function(config) {
{ pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false }, { pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false },
{ pattern: 'dist/**/*.js', included: false, watched: true }, { pattern: 'dist/**/*.js', included: false, watched: true },
{ pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: false, watched: false }, // PhantomJS2 (and possibly others) might require it { pattern: 'node_modules/systemjs/dist/system-polyfills.js', included: false, watched: false }, // PhantomJS2 (and possibly others) might require it
{ pattern: 'node_modules/ng2-alfresco-core/services.js', included: false, watched: false }, // source files
{ pattern: 'node_modules/ng2-alfresco-core/services/*.js', included: false, watched: false }, // source files
// suppress annoying 404 warnings for resources, images, etc. // suppress annoying 404 warnings for resources, images, etc.
//{ pattern: 'dist/src/assets/**/*', watched: false, included: false, served: true }, //{ pattern: 'dist/src/assets/**/*', watched: false, included: false, served: true },

View File

@@ -23,7 +23,9 @@ System.config({
defaultJSExtensions: true, defaultJSExtensions: true,
paths: { paths: {
'angular2/*': 'node_modules/angular2/*.js', 'angular2/*': 'node_modules/angular2/*.js',
'rxjs/*': 'node_modules/rxjs/*.js' 'rxjs/*': 'node_modules/rxjs/*.js',
'ng2-alfresco-core/*': 'node_modules/ng2-alfresco-core/services.js',
'ng2-alfresco-core/services/*': 'node_modules/ng2-alfresco-core/services/*'
} }
}); });