Find file History
gretzky Webpack updates (#2382)
Rather than a huge ambitious webpack overhaul, I tackled just 1 big piece and 1 small: the DLL plugin and polyfills.

**DLL**

I've completely removed the DLL setup we had going and replaced it with `webpack.optimization` and `compression-webpack-plugin`.

I've set optimizations for splitting chunks in prod to handle vendor cache groups, which is pretty snappy in development. I've also setup `uglifyjs-webpack-plugin` to enable caching and multi-process parallel running at the same time (this is handled in optimization as well). Along with this, I've added compression plugin to build gzipped bundles. These are served by express and the bundles are cut down by half or more.

**Polyfill**

I've added [`react-app-polyfill`](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill) that has common polyfills for the browser and supports up to IE11.
Latest commit f3a3b21 Oct 19, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
middlewares Removal of node 6 support means a return of the newer trailing commas Jun 21, 2018
argv.js Merge v3.5 release (#1929) Sep 22, 2017
index.js Webpack updates (#2382) Oct 24, 2018
logger.js ESLint upgrade + Prettier (#2244) Jun 21, 2018
port.js Merge v3.5 release (#1929) Sep 22, 2017