Update ngrx config
This commit is contained in:
parent
fd1a069214
commit
f01049bfb1
@ -72,7 +72,15 @@ export function HttpLoaderFactory(http: HttpClient) {
|
|||||||
HotkeyModule.forRoot(),
|
HotkeyModule.forRoot(),
|
||||||
|
|
||||||
// ngrx
|
// ngrx
|
||||||
StoreModule.forRoot(reducers, { metaReducers }),
|
StoreModule.forRoot(reducers,
|
||||||
|
{ metaReducers,
|
||||||
|
runtimeChecks: {
|
||||||
|
strictStateImmutability: true,
|
||||||
|
strictActionImmutability: true,
|
||||||
|
strictStateSerializability: true,
|
||||||
|
strictActionSerializability: true
|
||||||
|
}}
|
||||||
|
),
|
||||||
EffectsModule.forRoot(effects),
|
EffectsModule.forRoot(effects),
|
||||||
env.production
|
env.production
|
||||||
? []
|
? []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user