Add hash to bundle urls for cache busting

This commit is contained in:
Bill Thornton 2021-03-01 13:58:24 -05:00
parent 30e8605b45
commit 8a3f472c7d

View file

@ -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: ''
}, },