const configureStore = process.env.NODE_ENV === 'development' ?
  './configureStore.dev.js' :
  './configureStore.js';

// eslint-disable-next-line import/no-dynamic-require
module.exports = require(configureStore);

/* eslint-disable global-require */

if (process.env.NODE_ENV === 'development') {
  module.exports = require('./configureStore.dev.js');
} else {
  module.exports = require('./configureStore.js');
}


Make sure webpack can remove an unnecessary require from the redux store's entry point
Make sure webpack can remove an unnecessary require from the redux store's entry point
