We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055f6ef commit 762cf2eCopy full SHA for 762cf2e
modules/schematics/src/store/index.ts
@@ -6,7 +6,6 @@ import {
6
apply,
7
branchAndMerge,
8
chain,
9
- filter,
10
mergeWith,
11
template,
12
url,
@@ -166,15 +165,7 @@ export default function(options: StoreOptions): Rule {
166
165
167
return chain([
168
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
- ])
+ chain([addImportToNgModule(options), mergeWith(templateSource)])
178
),
179
])(host, context);
180
};
0 commit comments