forked from YuerLee/ngx-siema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrollup.publish.config.js
163 lines (159 loc) · 7.97 KB
/
rollup.publish.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
const ROLLUP_GLOBALS = {
// Angular dependencies
'@angular/animations': 'ng.animations',
'@angular/core': 'ng.core',
'@angular/common': 'ng.common',
'@angular/forms': 'ng.forms',
'@angular/http': 'ng.http',
'@angular/platform-browser': 'ng.platformBrowser',
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic',
'@angular/platform-browser/animations': 'ng.platformBrowser.animations',
'@angular/platform-server': 'ng.platformServer',
'@angular/router': 'ng.router',
// RxJS dependencies
'rxjs/AnonymousSubject': 'Rx',
'rxjs/AsyncSubject': 'Rx',
'rxjs/BehaviorSubject': 'Rx',
'rxjs/Notifiction': 'Rx',
'rxjs/ObservableInput': 'Rx',
'rxjs/Observable': 'Rx',
'rxjs/Observer': 'Rx',
'rxjs/ReplaySubject': 'Rx',
'rxjs/Scheduler': 'Rx',
'rxjs/Subject': 'Rx',
'rxjs/SubjectSubscriber': 'Rx',
'rxjs/SubscribableOrPromise': 'Rx',
'rxjs/Subscriber': 'Rx',
'rxjs/Subscription': 'Rx',
'rxjs/TeardownLogic': 'Rx',
'rxjs/add/observable/fromPromise': 'Rx.Observable',
'rxjs/add/observable/of': 'Rx.Observable',
'rxjs/add/observable/bindCallback': 'Rx.Observable',
'rxjs/add/observable/bindNodeCallback': 'Rx.Observable',
'rxjs/add/observable/combineLatest': 'Rx.Observable',
'rxjs/add/observable/concat': 'Rx.Observable',
'rxjs/add/observable/create': 'Rx.Observable',
'rxjs/add/observable/defer': 'Rx.Observable',
'rxjs/add/observable/empty': 'Rx.Observable',
'rxjs/add/observable/forkJoin': 'Rx.Observable',
'rxjs/add/observable/from': 'Rx.Observable',
'rxjs/add/observable/fromEvent': 'Rx.Observable',
'rxjs/add/observable/fromEventPattern': 'Rx.Observable',
'rxjs/add/observable/interval': 'Rx.Observable',
'rxjs/add/observable/merge': 'Rx.Observable',
'rxjs/add/observable/never': 'Rx.Observable',
'rxjs/add/observable/range': 'Rx.Observable',
'rxjs/add/observable/throw': 'Rx.Observable',
'rxjs/add/observable/timer': 'Rx.Observable',
'rxjs/add/observable/webSocket': 'Rx.Observable',
'rxjs/add/observable/zip': 'Rx.Observable',
'rxjs/add/operator/audit': 'Rx.Observable.prototype',
'rxjs/add/operator/auditTime': 'Rx.Observable.prototype',
'rxjs/add/operator/buffer': 'Rx.Observable.prototype',
'rxjs/add/operator/bufferCount': 'Rx.Observable.prototype',
'rxjs/add/operator/bufferTime': 'Rx.Observable.prototype',
'rxjs/add/operator/bufferToggle': 'Rx.Observable.prototype',
'rxjs/add/operator/bufferWhen': 'Rx.Observable.prototype',
'rxjs/add/operator/catch': 'Rx.Observable.prototype',
'rxjs/add/operator/combineAll': 'Rx.Observable.prototype',
'rxjs/add/operator/combineLatest': 'Rx.Observable.prototype',
'rxjs/add/operator/concat': 'Rx.Observable.prototype',
'rxjs/add/operator/concatAll': 'Rx.Observable.prototype',
'rxjs/add/operator/concatMap': 'Rx.Observable.prototype',
'rxjs/add/operator/concatMapTo': 'Rx.Observable.prototype',
'rxjs/add/operator/count': 'Rx.Observable.prototype',
'rxjs/add/operator/debounce': 'Rx.Observable.prototype',
'rxjs/add/operator/debounceTime': 'Rx.Observable.prototype',
'rxjs/add/operator/defaultIfEmpty': 'Rx.Observable.prototype',
'rxjs/add/operator/delay': 'Rx.Observable.prototype',
'rxjs/add/operator/delayWhen': 'Rx.Observable.prototype',
'rxjs/add/operator/dematerialize': 'Rx.Observable.prototype',
'rxjs/add/operator/distinct': 'Rx.Observable.prototype',
'rxjs/add/operator/distinctUntilChanged': 'Rx.Observable.prototype',
'rxjs/add/operator/distinctUntilKeyChanged': 'Rx.Observable.prototype',
'rxjs/add/operator/do': 'Rx.Observable.prototype',
'rxjs/add/operator/elementAt': 'Rx.Observable.prototype',
'rxjs/add/operator/every': 'Rx.Observable.prototype',
'rxjs/add/operator/exhaust': 'Rx.Observable.prototype',
'rxjs/add/operator/exhaustMap': 'Rx.Observable.prototype',
'rxjs/add/operator/expand': 'Rx.Observable.prototype',
'rxjs/add/operator/filter': 'Rx.Observable.prototype',
'rxjs/add/operator/find': 'Rx.Observable.prototype',
'rxjs/add/operator/findIndex': 'Rx.Observable.prototype',
'rxjs/add/operator/first': 'Rx.Observable.prototype',
'rxjs/add/operator/forEach': 'Rx.Observable.prototype',
'rxjs/add/operator/finally': 'Rx.Observable.prototype',
'rxjs/add/operator/groupBy': 'Rx.Observable.prototype',
'rxjs/add/operator/ignoreElements': 'Rx.Observable.prototype',
'rxjs/add/operator/isEmpty': 'Rx.Observable.prototype',
'rxjs/add/operator/last': 'Rx.Observable.prototype',
'rxjs/add/operator/letProto': 'Rx.Observable.prototype',
'rxjs/add/operator/lift': 'Rx.Observable.prototype',
'rxjs/add/operator/map': 'Rx.Observable.prototype',
'rxjs/add/operator/materialize': 'Rx.Observable.prototype',
'rxjs/add/operator/max': 'Rx.Observable.prototype',
'rxjs/add/operator/merge': 'Rx.Observable.prototype',
'rxjs/add/operator/mergeAll': 'Rx.Observable.prototype',
'rxjs/add/operator/mergeMap': 'Rx.Observable.prototype',
'rxjs/add/operator/mergeMapTo': 'Rx.Observable.prototype',
'rxjs/add/operator/mergeScan': 'Rx.Observable.prototype',
'rxjs/add/operator/min': 'Rx.Observable.prototype',
'rxjs/add/operator/multicast': 'Rx.Observable.prototype',
'rxjs/add/operator/observeOn': 'Rx.Observable.prototype',
'rxjs/add/operator/pairwise': 'Rx.Observable.prototype',
'rxjs/add/operator/partition': 'Rx.Observable.prototype',
'rxjs/add/operator/pluck': 'Rx.Observable.prototype',
'rxjs/add/operator/publish': 'Rx.Observable.prototype',
'rxjs/add/operator/publishBehavior': 'Rx.Observable.prototype',
'rxjs/add/operator/publishLast': 'Rx.Observable.prototype',
'rxjs/add/operator/publishReplay': 'Rx.Observable.prototype',
'rxjs/add/operator/race': 'Rx.Observable.prototype',
'rxjs/add/operator/reduce': 'Rx.Observable.prototype',
'rxjs/add/operator/repeat': 'Rx.Observable.prototype',
'rxjs/add/operator/repeatWhen': 'Rx.Observable.prototype',
'rxjs/add/operator/retry': 'Rx.Observable.prototype',
'rxjs/add/operator/retryWhen': 'Rx.Observable.prototype',
'rxjs/add/operator/sample': 'Rx.Observable.prototype',
'rxjs/add/operator/sampleTime': 'Rx.Observable.prototype',
'rxjs/add/operator/scan': 'Rx.Observable.prototype',
'rxjs/add/operator/sequenceEqual': 'Rx.Observable.prototype',
'rxjs/add/operator/share': 'Rx.Observable.prototype',
'rxjs/add/operator/single': 'Rx.Observable.prototype',
'rxjs/add/operator/skip': 'Rx.Observable.prototype',
'rxjs/add/operator/skipUntil': 'Rx.Observable.prototype',
'rxjs/add/operator/skipWhile': 'Rx.Observable.prototype',
'rxjs/add/operator/startWith': 'Rx.Observable.prototype',
'rxjs/add/operator/subscribeOn': 'Rx.Observable.prototype',
'rxjs/add/operator/switch': 'Rx.Observable.prototype',
'rxjs/add/operator/switchMap': 'Rx.Observable.prototype',
'rxjs/add/operator/switchMapTo': 'Rx.Observable.prototype',
'rxjs/add/operator/take': 'Rx.Observable.prototype',
'rxjs/add/operator/takeLast': 'Rx.Observable.prototype',
'rxjs/add/operator/takeUntil': 'Rx.Observable.prototype',
'rxjs/add/operator/takeWhile': 'Rx.Observable.prototype',
'rxjs/add/operator/throttle': 'Rx.Observable.prototype',
'rxjs/add/operator/throttleTime': 'Rx.Observable.prototype',
'rxjs/add/operator/timeInterval': 'Rx.Observable.prototype',
'rxjs/add/operator/timeout': 'Rx.Observable.prototype',
'rxjs/add/operator/timeoutWith': 'Rx.Observable.prototype',
'rxjs/add/operator/timestamp': 'Rx.Observable.prototype',
'rxjs/add/operator/toArray': 'Rx.Observable.prototype',
'rxjs/add/operator/toPromise': 'Rx.Observable.prototype',
'rxjs/add/operator/window': 'Rx.Observable.prototype',
'rxjs/add/operator/windowCount': 'Rx.Observable.prototype',
'rxjs/add/operator/windowToggle': 'Rx.Observable.prototype',
'rxjs/add/operator/windowWhen': 'Rx.Observable.prototype',
'rxjs/add/operator/withLatestFrom': 'Rx.Observable.prototype',
'rxjs/add/operator/zipAll': 'Rx.Observable.prototype',
'rxjs/add/operator/zipProto': 'Rx.Observable.prototype',
// 3rd party dependencies
'siema': 'siema',
};
export default {
entry: 'lib/index.js',
dest: 'lib/bundles/ngx-siema.umd.js',
format: 'umd',
moduleName: 'ngx-siema',
globals: ROLLUP_GLOBALS,
external: Object.keys(ROLLUP_GLOBALS),
}