mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
format config
This commit is contained in:
+2
-2
@@ -21,7 +21,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
publicPath: '',
|
publicPath: '',
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
configureWebpack:{
|
configureWebpack: {
|
||||||
plugins: [
|
plugins: [
|
||||||
new MomentLocalesPlugin()
|
new MomentLocalesPlugin()
|
||||||
]
|
]
|
||||||
@@ -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`;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user