Webpack - Min chunks

Sign up for my Newsletter: https://www.programmingtil.com/
In this episode, I explain Minimization (flags):
  • --optimize-max-chunks {n}
  • --optimize-min-chunk-size {n}

And mention the plugins, which we'll look at another time:
  • webpack.optimize.LimitChunkCountPlugin({maxChunks: n})
  • webpack.optimize.MinChunkSizePlugin({minChunkSize: n})

Resources:
  • https://github.com/davidwparker/programmingtil-webpack/tree/master/0012-optimization-chunk
  • http://webpack.github.io/docs/optimization.html
© programmingtil.com