append file hash to frontend Webpack bundle for cachebusting instead of random string
This commit is contained in:
parent
f0dd2e348b
commit
9db3600463
3 changed files with 14 additions and 37 deletions
|
@ -5,7 +5,7 @@ var config = {
|
|||
entry: "./static/js/main.ts",
|
||||
output: {
|
||||
path: path.resolve(__dirname, "static/build"),
|
||||
filename: "quay-frontend.js"
|
||||
filename: 'quay-frontend-[hash].js'
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts", ".tsx", ".js", ".scss"],
|
||||
|
|
Reference in a new issue