Webpack 4 brought us some changes. Among things like faster bundling, it introduced SplitChunksPlugin, which made CommonsChunksPlugin obsolete. In this article, you will learn how to split your output code to improve the performance of our application….
Source: https://wanago.io/2018/06/04/code-splitting-with-splitchunksplugin-in-webpack-4/