Quantcast
Channel: Different chunks for production and development - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by piernik for Different chunks for production and development

I think I know the issue. I've added maxInitialRequests: 10 to optimization flag and now it's splitting almost the same.optimization: { splitChunks: { chunks: "all", maxInitialRequests: 10, }, },

View Article


Image may be NSFW.
Clik here to view.

Different chunks for production and development

I have webpack@4.30.0 project.In development mode webpack --mode=development all files are 7MB.But when I switch to production mode webpack --mode=production they are 27MB :/ Webpack is splitting files...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>