Documentation error new webpack.optimize.CommonsChunkPlugin

Bug report

https://webpack.js.org/guides/code-splitting/

What is the current behavior?
new webpack.optimize.CommonsChunkPlugin({
removed or distribute by version. deprecated.
Example of using the latest version of the plugin.
https://github.com/isopen/ngx-cable/blob/master/webpack.config.js

If the current behavior is a bug, please provide the steps to reproduce.
Go to the site https://webpack.js.org/guides/code-splitting/
Try to do everything that’s written there.

What is the expected behavior?
distribution by version

Other relevant information:
webpack version: latest
Operating System: browser

Author: Fantashit

1 thought on “Documentation error new webpack.optimize.CommonsChunkPlugin

Comments are closed.