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 5318913 commit ec6adb5Copy full SHA for ec6adb5
modules/store/schematics/ng-add/index.ts
@@ -6,7 +6,6 @@ import {
6
apply,
7
branchAndMerge,
8
chain,
9
- filter,
10
mergeWith,
11
template,
12
url,
@@ -132,15 +131,7 @@ export default function(options: RootStoreOptions): Rule {
132
131
133
return chain([
134
branchAndMerge(
135
- chain([
136
- filter(
137
- path =>
138
- path.endsWith('.module.ts') &&
139
- !path.endsWith('-routing.module.ts')
140
- ),
141
- addImportToNgModule(options),
142
- mergeWith(templateSource),
143
- ])
+ chain([addImportToNgModule(options), mergeWith(templateSource)])
144
),
145
options && options.skipPackageJson ? noop() : addNgRxStoreToPackageJson(),
146
])(host, context);
0 commit comments