format config

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