Skip to content

Commit afb98fb

Browse files
author
CALABRO Raphael (UA 2118)
committed
Updated systemjs and karma configurations
1 parent 770de8d commit afb98fb

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

karma.conf.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ module.exports = function (config) {
6868
watched: false
6969
},
7070

71-
// Lodash
72-
{
73-
pattern: 'node_modules/lodash/lodash.js',
74-
included: false,
75-
watched: false
76-
},
77-
7871
// The testing library
7972
{
8073
pattern: 'systemjs.config.js',

systemjs.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,20 @@
2222

2323
// other libraries
2424
'rxjs': 'npm:rxjs',
25-
'lodash': 'npm:lodash/lodash.js'
25+
'rxjs/operators': 'npm:rxjs/operators',
2626
},
2727
// packages tells the System loader how to load when no filename and/or no extension
2828
packages: {
2929
lib: {
3030
defaultExtension: 'js'
3131
},
3232
rxjs: {
33-
defaultExtension: 'js'
33+
defaultExtension: 'js',
34+
main: 'index.js'
35+
},
36+
'rxjs/operators': {
37+
defaultExtension: 'js',
38+
main: 'index.js'
3439
}
3540
}
3641
});

0 commit comments

Comments
 (0)