File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 48
48
"typings" : " lib/index.d.ts" ,
49
49
"dependencies" : {
50
50
"@uirouter/core" : " =5.0.1" ,
51
- "@uirouter/rx" : " =0.4.1"
51
+ "@uirouter/rx" : " =0.4.1" ,
52
+ "tslib" : " ^1.7.1"
52
53
},
53
54
"peerDependencies" : {
54
55
"@angular/common" : " ^4.0.0" ,
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ const CONFIG = {
68
68
external : isExternal ,
69
69
70
70
globals : {
71
+ 'tslib' : 'tslib' ,
71
72
'rxjs/ReplaySubject' : 'Rx' ,
72
73
73
74
// Copied these from @angular /router rollup config
@@ -94,7 +95,7 @@ const CONFIG = {
94
95
'rxjs/operator/last' : 'Rx.Observable.prototype' ,
95
96
'rxjs/operator/filter' : 'Rx.Observable.prototype' ,
96
97
'rxjs/operator/concatMap' : 'Rx.Observable.prototype' ,
97
-
98
+
98
99
'@uirouter/core' : '@uirouter/core' ,
99
100
'ui-router-rx' : 'ui-router-rx' ,
100
101
'@angular/core' : 'ng.core' ,
Original file line number Diff line number Diff line change 11
11
"rootDir" : " src" ,
12
12
"outDir" : " lib" ,
13
13
"declaration" : true ,
14
- "sourceMap" : true
14
+ "sourceMap" : true ,
15
+ "importHelpers" : true
15
16
},
16
17
"angularCompilerOptions" : {
17
18
"skipTemplateCodegen" : true ,
Original file line number Diff line number Diff line change 7
7
"allowSyntheticDefaultImports" : true ,
8
8
"outDir" : " build/es5" ,
9
9
"declaration" : false ,
10
- "sourceMap" : false
10
+ "sourceMap" : false ,
11
+ "importHelpers" : true
11
12
},
12
13
"files" : [
13
14
" src/index.ts" ,
You can’t perform that action at this time.
0 commit comments