Skip to content

Commit 762cf2e

Browse files
timdeschryverbrandonroberts
authored andcommitted
perf(Schematics): remove path filters in store schematics
1 parent 055f6ef commit 762cf2e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

modules/schematics/src/store/index.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
apply,
77
branchAndMerge,
88
chain,
9-
filter,
109
mergeWith,
1110
template,
1211
url,
@@ -166,15 +165,7 @@ export default function(options: StoreOptions): Rule {
166165

167166
return chain([
168167
branchAndMerge(
169-
chain([
170-
filter(
171-
path =>
172-
path.endsWith('.module.ts') &&
173-
!path.endsWith('-routing.module.ts')
174-
),
175-
addImportToNgModule(options),
176-
mergeWith(templateSource),
177-
])
168+
chain([addImportToNgModule(options), mergeWith(templateSource)])
178169
),
179170
])(host, context);
180171
};

0 commit comments

Comments
 (0)