In age of HTTP/2 packing is not recommended anymore but I love so many features of Webpack, are you guys going to adopt to HTTP/2 paradigms?
Great work, thanks!
In age of HTTP/2 packing is not recommended anymore but I love so many features of Webpack, are you guys going to adopt to HTTP/2 paradigms?
Great work, thanks!
It's designed to allow you to specify a max and min file size and webpack(2) will create x bundles of those size up to a certain number (if specifies). The advantages are now you are drastically increasing the delivery of your js and other assets but still bundled for opt.
Sokra (Tobias) wrote an article about this research if you are interested!!
https://medium.com/webpack/webpack-http-2-7083ec3f3ce6#.5yca...
Also to see an example of the API usage you can visit our core repo under examples where we explain the trade offs (compression vs cacheability):
https://github.com/webpack/webpack/tree/master/examples/http...