import { ActionReducerMap } from '@ngrx/store' ; import { storeFreeze } from 'ngrx-store-freeze' ; import { enableBatching } from 'redux-batched-actions' ; import { IStore } from 'app/shared/interfaces/store.interface' ; import { uiReducer } from 'app/shared/states/ui/ui.reducer' ; import { environment } from 'environments/environment' ; export const reducers = { ui : uiReducer , } ; const metaReducersDev = [ storeFreeze , enableBatching ] ; const metaReducersProd = [ enableBatching ] ; export const metaReducers = environment . production ? metaReducersProd : metaReducersDev ;