format config

This commit is contained in:
MaysWind
2021-02-28 20:26:28 +08:00
parent b09c157fa8
commit 7f47ffe6c2
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = {
minChunks: 2 minChunks: 2
}, },
'vendors-bundle': { 'vendors-bundle': {
name: (module, chunks, cacheGroupKey) => { name: (module, chunks) => {
const allChunksNames = chunks.map((item) => item.name).join('-'); const allChunksNames = chunks.map((item) => item.name).join('-');
return `vendors-${allChunksNames}-bundle`; return `vendors-${allChunksNames}-bundle`;
}, },