import { PreloadedState , Store } from 'redux' ; import { CounterState } from '../reducers' ; import { CounterAction } from '../actions/CounterActions' ; const configureStore = process . env . NODE_ENV === 'production' ? require ( './configureStore.prod' ) . default : require ( './configureStore.dev' ) . default ; export default configureStore ;