Files
learning-system-mobile/vue.config.js
2025-09-11 10:55:33 +08:00

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`
}
}
}