Webpack 4 Optimization – Splitting Bundles

Webpack 4 already has some optimizations presets for production mode, such as the code minification (before it was made with UglifyJS), but there are more things we can use to improve the performance of our application. In this recipe, we are going to learn how to split bundles (vendors and application bundles), add source maps, and implement the BundleAnalyzerPlugin.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset