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