@@ -105,6 +105,37 @@ searchAndReplace(/angular_compiler_options = {/, `$&
105
105
"strictAttributeTypes": False,
106
106
"strictDomEventTypes": False,` , 'node_modules/@angular/bazel/src/ng_module.bzl' ) ;
107
107
108
+ // More info in https://github.com/angular/angular/pull/33786
109
+ shelljs . rm ( '-rf' , [
110
+ 'node_modules/rxjs/add/' ,
111
+ 'node_modules/rxjs/observable/' ,
112
+ 'node_modules/rxjs/operator/' ,
113
+ // rxjs/operators is a public entry point that also contains files to support legacy deep import
114
+ // paths, so we need to preserve index.* and package.json files that are required for module
115
+ // resolution.
116
+ 'node_modules/rxjs/operators/!(index.*|package.json)' ,
117
+ 'node_modules/rxjs/scheduler/' ,
118
+ 'node_modules/rxjs/symbol/' ,
119
+ 'node_modules/rxjs/util/' ,
120
+ 'node_modules/rxjs/internal/Rx.d.ts' ,
121
+ 'node_modules/rxjs/AsyncSubject.*' ,
122
+ 'node_modules/rxjs/BehaviorSubject.*' ,
123
+ 'node_modules/rxjs/InnerSubscriber.*' ,
124
+ 'node_modules/rxjs/interfaces.*' ,
125
+ 'node_modules/rxjs/Notification.*' ,
126
+ 'node_modules/rxjs/Observable.*' ,
127
+ 'node_modules/rxjs/Observer.*' ,
128
+ 'node_modules/rxjs/Operator.*' ,
129
+ 'node_modules/rxjs/OuterSubscriber.*' ,
130
+ 'node_modules/rxjs/ReplaySubject.*' ,
131
+ 'node_modules/rxjs/Rx.*' ,
132
+ 'node_modules/rxjs/Scheduler.*' ,
133
+ 'node_modules/rxjs/Subject.*' ,
134
+ 'node_modules/rxjs/SubjectSubscription.*' ,
135
+ 'node_modules/rxjs/Subscriber.*' ,
136
+ 'node_modules/rxjs/Subscription.*' ,
137
+ ] ) ;
138
+
108
139
/**
109
140
* Reads the specified file and replaces matches of the search expression
110
141
* with the given replacement. Throws if no changes were made.
0 commit comments