↧
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 ArticleDifferent 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