Hi, when i update the packages to the latest version and then i type npm run watch the cmd tells me that the CommonsChunks isn't supported, i manage to fix the changing the code in the webpack.config.js file, and now its compiling but the code in components it's awful in comparison with the one generate in the version of webpack 2.7.0. So I wanted to know if you could help me with this? please.
i use this line of command to replace the older plugin part:
optimization: {
runtimeChunk: false,
splitChunks: {
chunks: "async",
minSize: 30000,
minChunks: 1,
maxAsyncRequests: 5,
maxInitialRequests: 3,
name: true,
cacheGroups: {
default: {
minChunks: 2,
priority: -20,
reuseExistingChunk: true,
},
vendors: {
test: /[\/]node_modules[\/]/,
priority: -10
},
},
},
},
Hi, when i update the packages to the latest version and then i type npm run watch the cmd tells me that the CommonsChunks isn't supported, i manage to fix the changing the code in the webpack.config.js file, and now its compiling but the code in components it's awful in comparison with the one generate in the version of webpack 2.7.0. So I wanted to know if you could help me with this? please.
i use this line of command to replace the older plugin part: optimization: { runtimeChunk: false, splitChunks: { chunks: "async", minSize: 30000, minChunks: 1, maxAsyncRequests: 5, maxInitialRequests: 3, name: true, cacheGroups: { default: { minChunks: 2, priority: -20, reuseExistingChunk: true, }, vendors: { test: /[\/]node_modules[\/]/, priority: -10 }, }, }, },
thanks in advance, regards.