Skip to content

Commit 5318913

Browse files
timdeschryverbrandonroberts
authored andcommitted
perf(Effects): remove path filters in ng-add
1 parent 762cf2e commit 5318913

File tree

1 file changed

+1
-9
lines changed
  • modules/effects/schematics/ng-add

1 file changed

+1
-9
lines changed

modules/effects/schematics/ng-add/index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,7 @@ export default function(options: RootEffectOptions): Rule {
137137

138138
return chain([
139139
branchAndMerge(
140-
chain([
141-
filter(
142-
path =>
143-
path.endsWith('.module.ts') &&
144-
!path.endsWith('-routing.module.ts')
145-
),
146-
addImportToNgModule(options),
147-
mergeWith(templateSource),
148-
])
140+
chain([addImportToNgModule(options), mergeWith(templateSource)])
149141
),
150142
options && options.skipPackageJson
151143
? noop()

0 commit comments

Comments
 (0)