修改配置:
output: {
filename: `js/[name].[hash:8].js`,
chunkFilename: `js/[name].[hash:8].js`
},
optimization: {
splitChunks: {
maxSize: 250000,
automaticNameDelimiter: '-'
}
}
修改后:
可以看见~ 换成了 -
2023-11-22 12:15:04
修改配置:
output: {
filename: `js/[name].[hash:8].js`,
chunkFilename: `js/[name].[hash:8].js`
},
optimization: {
splitChunks: {
maxSize: 250000,
automaticNameDelimiter: '-'
}
}
修改后:
可以看见~ 换成了 -