dvdzkwsk / react-redux-starter-kit

Get started with React, Redux, and React-Router.
MIT License
10.29k stars 2.2k forks source link

Upgrade WebPack to 2.x #1211

Closed SacredWizard closed 7 years ago

SacredWizard commented 7 years ago

The current react-redux-starter-kit uses 1.x, It would be better if this could be upgraded to 2.x which has ES6 support, creating smaller bundles, better performance and 1.x is being deprecated.

dvdzkwsk commented 7 years ago

There are a couple of PR's out for this, such as https://github.com/davezuko/react-redux-starter-kit/pull/1189. I would like to get to this at some point, though, since the project has mostly stagnated in favor of more blessed options (Create React App).

Funnily enough, tree shaking is not working correctly in the current 2.x release of webpack (see https://github.com/webpack/webpack/issues/2867). This will be fixed eventually, and make the upgrade worthwhile, but just as an FYI ;).