mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#60 fix config for core
This commit is contained in:
@@ -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 },
|
||||||
|
@@ -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/*'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user