mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 11:26:47 +08:00
16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
let filePath = ''
|
|
let Timestamp = ''
|
|
|
|
if (process.env.UNI_PLATFORM === 'h5') {
|
|
Timestamp = '.' + new Date().getTime()
|
|
}
|
|
|
|
module.exports = {
|
|
configureWebpack: {
|
|
output: {
|
|
filename: `${filePath}[name]-${new Date().getTime()}-[hash].js`,
|
|
chunkFilename: `${filePath}[name]-${new Date().getTime()}-[hash].js`
|
|
}
|
|
}
|
|
}
|