1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

ui: Add chunk hash to static js file name

This commit is contained in:
James Hillyerd
2018-12-11 19:31:38 -08:00
parent 1eba3164b5
commit f0c9a1e7f4
3 changed files with 25 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ module.exports = (env, argv) => {
const production = argv.mode === 'production'
const config = {
output: {
filename: 'static/[name].js',
filename: 'static/[name].[hash:8].js',
publicPath: '/',
},
module: {