mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): prefer contenthash
This commit is contained in:
parent
30c24ba23f
commit
b727a0f2b4
@ -21,8 +21,8 @@ export function getSitePrdConfig(): WebpackConfig {
|
|||||||
output: {
|
output: {
|
||||||
publicPath,
|
publicPath,
|
||||||
path: outputDir,
|
path: outputDir,
|
||||||
filename: '[name].[hash:8].js',
|
filename: '[name].[contenthash:8].js',
|
||||||
chunkFilename: 'async_[name].[chunkhash:8].js',
|
chunkFilename: 'async_[name].[contenthash:8].js',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user