Add hash to bundle urls for cache busting
This commit is contained in:
parent
30e8605b45
commit
8a3f472c7d
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ module.exports = {
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
filename: '[name].bundle.js',
|
filename: '[name].[contenthash].bundle.js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
publicPath: ''
|
publicPath: ''
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue